Uploaded image for project: 'Sakai'
  1. Sakai
  2. SAK-39427

Interpret content type if unknown

    XMLWordPrintable

    Details

    • Type: Feature Request
    • Status: CLOSED
    • Priority: Blocker
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 10.0, 11.0
    • Component/s: Kernel
    • Labels:
      None
    • 10 status:
      Resolved
    • Property addition/change required:
      Yes
    • Previous Issue Keys:
      KNL-101

      Description

      Some combinations of OS/browser/files lead to unhelpful content types, e.g. uploading a PDF from Firefox 3 on WinXP can give a content-type of application/binary as discussed here:

      http://techblog.procurios.nl/k/618/news/view/15872/14863/Mimetype-corruption-in-Firefox.html

      Both IE7 and FF3 upload a .rtf file with a content-type of application/msword rather than application/rtf.

      In these cases, it would be helpful for content hosting to look at the file extension and change the content type appropriately (possibly trusting the browser-supplied content-type last rather than first).

        Gliffy Diagrams

          Zeplin

            Attachments

              Issue Links

                Activity

                  People

                  • Assignee:
                    jonespm Matthew Jones
                    Reporter:
                    smarquard Stephen Marquard
                  • Votes:
                    0 Vote for this issue
                    Watchers:
                    9 Start watching this issue

                    Dates

                    • Created:
                      Updated:
                      Resolved:

                      Git Integration