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

Support encoded MIME parameters

    XMLWordPrintable

    Details

    • Type: New Feature
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 5.7.1, 5.7.2
    • Component/s: Automation

      Description

      By default, encoded MIME parameters, as specified by http://www.ietf.org/rfc/rfc2231.txt, are not supported.
      We need to support them for the case of multipart POST requests with an UTF-8 encoded filename in the Content-Disposition header, typically when uploading blobs from the Nuxeo Drive Automation client.

      Therefore adding

      -Dmail.mime.decodeparameters=true
      

      to the JAVA_OPTS in nuxeo.conf as the ParameterList class from javax.mail.internet relies on System properties.

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Time Tracking

                  Estimated:
                  Original Estimate - 0 minutes
                  0m
                  Remaining:
                  Remaining Estimate - 0 minutes
                  0m
                  Logged:
                  Time Spent - 1 hour
                  1h