Uploaded image for project: 'Service Packs and Hot Fixes'
  1. Service Packs and Hot Fixes
  2. MNT-20384

URL Encoded characters are included in the file name when downloading a file

    Details

    • Type: Service Pack Request
    • Status: Open (View Workflow)
    • Resolution: Unresolved
    • Affects Version/s: 5.2.3, 5.2.4, 6.1
    • Fix Version/s: 5.2.N
    • Component/s: Share Application
    • Labels:
    • Environment:
      ACS - 5.2.3
      Application Server - Tomcat
      Browser - Internet Explorer 11/ Edge
      Client - Windows 7, Windows 8
    • Bug Priority:
      Category 3
    • ACT Numbers:

      00986387 Premier

    • Premier Customer:
      Yes
    • Story Points:
      3

      Description

      **Summary of the issue**

      Downloading a file from Alfresco Share which has whitespace after the file extension (Example - "test.txt test") replaces the whitespace with encoded character '%20'. So the downloaded file name becomes - "test.txt%20test". The issue only occur when downloading files of this nature using Internet Explorer. Other browsers such as Google Chrome and Firefox downloads the file as is (i.e. "test.txt test")

      **Steps to reproduce**

      1) Startup ACS 5.2.3 or 5.2.4. Navigate to Alfresco Share (using Internet Explorer 11/Edge) Site document library/ Repository and upload the document that contains whitespace after the file extension. (See attached document for reference - 'test.txt test')

      2) Download the document using Download action. 

      3) File is saved as 'test.txt%20text'

      **Expected Behaviour**

      Files must be downloaded as is without replacing the whitespace character with URL encoded characters in the filenames

      **Observed Behaviour**

      Whitespace characters are replaced with URL encoded characters when downloading the file

        Attachments

        1. Downloaded File.png
          Downloaded File.png
          94 kB
        2. File Download in IE.png
          File Download in IE.png
          30 kB
        3. IE download.png
          IE download.png
          34 kB
        4. test.txt test
          0.0 kB
        5. Test File.png
          Test File.png
          21 kB

          Activity

            People

            • Assignee:
              shareteam Share Team
              Reporter:
              kmani Karthick Mani
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated: