Uploaded image for project: 'Nuxeo Platform'
  1. Nuxeo Platform
  2. NXP-25013

Always remove the jsessionid parameter from the downloaded file name

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Won't Fix
    • Affects Version/s: 7.10
    • Fix Version/s: None
    • Component/s: Core IO
    • Backlog priority:
      200
    • Sprint:
      nxsupport 10.2.1, nxsupport 10.2.2, nxsupport 10.2.3, nxsupport 10.2.4
    • Story Points:
      2

      Description

      Steps to reproduce the bug:

      1. enable anonymous authentication
      2. create a document with an attached file
      3. get the document permalink
      4. open a new browser and paste the document link
      5. observe that the URL for the main attachment contains the jsessionid with something like http://localhost:8080/nuxeo/nxfile/default/681a569b-91ea-4b3a-9852-3fc83f3867a6/blobholder:0/myfile-1.3.4.zip;jsessionid=90810978894678364. Then the downloaded file name will be myfile-1.3.4.zip;jsessionid=90810978894678364 instead of myfile-1.3.4.zip

      The download servlet should always clean the file name to remove the jsessionid parameter.

        Attachments

          Issue Links

            Activity

              People

              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0 minutes
                  0m
                  Logged:
                  Time Spent - 1 hour, 30 minutes
                  1h 30m

                    PagerDuty

                    Error rendering 'com.pagerduty.jira-server-plugin:PagerDuty'. Please contact your Jira administrators.