Uploaded image for project: 'Confluence Data Center'
  1. Confluence Data Center
  2. CONFSERVER-37262

LiveSearch macro double-encodes filenames with non-latin characters

    XMLWordPrintable

Details

    Description

      Steps to Reproduce

      1. Attach a file with this name: FDS_Myška.txt
      2. Add a livesearch macro to a Confluence page
      3. Search for this via the livesearch macro: "FDS_Myška.txt"
      4. Try to click on the attachment in the search result

      You will get a Page Not Found.

      Cause

      The generated URL is this: http://localhost:8571/c571/download/attachments/1572869/FDS_My%25C5%25A1ka.txt (double encoded)

      When it's supposed to be this:
      http://localhost:8571/c571/download/attachments/1572869/FDS_My%C5%A1ka.txt

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              fsim Foo Sim (Inactive)
              Votes:
              2 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: