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

Live search macro attachment name with comma links incorrectly

XMLWordPrintable

      Steps to replicate :

      1. Name an attachment with a comma (Example : hi, bye)
      2. Attach it on a page.
      3. Create another page with a live search macro
      4. Search for the attachment (do not press enter) and the dropdown menu will be shown.
      5. Click the link and it will show "Page Not Found".
      6. The problem only occurs on the dropdown menu.

      Cause :
      The link is incorrectly generated due to the comma.

      Real valid link :
      http://localhost:8090/download/attachments/360457/hi%2C%20bye.pdf?version=1&modificationDate=1450795646265&api=v2

      Actual incorrect link :
      http://localhost:8090/download/attachments/360457/hi%252C%20bye.pdf?version=1&modificationDate=1450795646265&api=v2

            Unassigned Unassigned
            vteoh Victor Teoh (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: