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

BUG: Wrong encoding of attachment history links

    XMLWordPrintable

Details

    • Suggestion
    • Resolution: Support Request
    • None
    • Content - Attachments
    • None
    • We collect Confluence feedback from various sources, and we evaluate what we've collected when planning our product roadmap. To understand how this piece of feedback will be reviewed, see our Implementation of New Features Policy.

    Description

      NOTE: This suggestion is for Confluence Server. Using Confluence Cloud? See the corresponding suggestion.

      (Please change this to a bug issue type, I got "User 'ulrich.b' doesn't have the 'Assign Issues' permission" for the "bug" issue type.)

       

      History links in the "Attachments" page seem to be wrongly encoded. See the following screenshot.

      As a consequence, downloads of files containing special characters (like "+") don't work (you get a 404).

      The problem is that URLs with these special characters need the "api=v2" parameter, but don't get it due to the wrong encoding.

      Example:

      https://<Confluence instance>/attachments/101777509/test%2B.txt?version=1 =>  returns 404

      https://<Confluence instance>/attachments/101777509/test%2B.txt?version=1&api=v2 => works

       

       

       

      Attachments

        1. 1000336-02-00-00-00_lg.png
          1000336-02-00-00-00_lg.png
          18 kB
        2. ConflAttachment.png
          ConflAttachment.png
          16 kB
        3. screenshot-1.png
          screenshot-1.png
          37 kB

        Issue Links

          Activity

            People

              Unassigned Unassigned
              7bbbfdf134bb UB
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: