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

Avoid Content-Disposition RFC 2231 encoding when it's not needed

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 10.10-HF20, 11.1
    • Component/s: CMIS
    • Release Notes Summary:
      Content-Disposition will not use RFC 2231 encoding for ASCII filenames.
    • Backlog priority:
      700
    • Sprint:
      nxFG 11.1.11
    • Story Points:
      2

      Description

      Currently we always use RFC 2231 encoding (Content-Disposition: attachment; filename*=UTF-8''testfile.txt) but if the filename is pure ASCII it's not needed.

      Avoiding this encoding when possible is helpful for non-RFC-compliant clients, and is actually a regression for CMIS-based downloads after NXP-27337 because the Apache Chemistry library was doing this optimization.

        Attachments

          Issue Links

            Activity

              People

              • Votes:
                0 Vote for this issue
                Watchers:
                4 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 - 2 hours
                  2h

                    PagerDuty

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