Uploaded image for project: 'XWiki Platform'
  1. XWiki Platform
  2. XWIKI-13428

$xwiki.getSkinFile doesn't work for folders with spaces in their name

    XMLWordPrintable

    Details

    • Tests:
      Unit
    • Difficulty:
      Medium
    • Documentation:
      N/A
    • Documentation in Release Notes:
      N/A
    • Similar issues:

      Description

      Steps to reproduce:

      1. Unzip fonts.zip to your "webapps\xwiki\resources" folder
      2. Import Main.Fonts.xar into your wiki
      3. Go to Main.Fonts

      Notice how the path for the folder with a space in its name is wrong: "/xwiki/skins/flamingo/fonts/" instead of "/xwiki/resources/fonts/".

        Attachments

        1. fonts.png
          fonts.png
          51 kB
        2. fonts.zip
          222 kB
        3. Main.Fonts.xar
          1 kB

          Activity

            People

            Assignee:
            mflorea Marius Dumitru Florea
            Reporter:
            msmeria Manuel Smeria
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Date of First Response: