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

Different upload paths in JSF lead to different mime-types for XML binaries

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 10.10
    • Fix Version/s: 10.10-HF53, 2021.9
    • Component/s: Core
    • Release Notes Summary:
      XML binaries are always created with the same MIME type.
    • Backlog priority:
      600
    • Sprint:
      nxplatform #43, nxplatform #44, nxplatform #45
    • Story Points:
      1

      Description

      Using Nuxeo 10.10 latest HF + JSF

      • upload an XML binary in file:content => mime-type is text/xml
      • upload the same XML binary in files:files => mime-type is text/plain

      Request is that whatever the upload path, the mime-type of an XML binary is always set to text/xml and is displayed as XML rather than as plain text.

        Attachments

        1. file-content mimetype detection.png
          124 kB
          Patrick Abgrall
        2. files-files mimetype detection.png
          28 kB
          Patrick Abgrall
        3. files-files mimetype detection - 2.png
          41 kB
          Patrick Abgrall
        4. files-files mimetype detection - 3.png
          226 kB
          Patrick Abgrall
        5. image-2021-09-03-17-02-18-457.png
          217 kB
          Nour Al Kotob

          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 - 4 days, 2 hours
                  4d 2h