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

Do not set charset of file upload to UTF-32LE or UTF-16

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Critical
    • Resolution: Fixed
    • Affects Version/s: 2.7.x
    • Fix Version/s: 2.7.x, 2.8.x, 2.9.x
    • Component/s: Kernel
    • Labels:
      None
    • CLE Team Issue:
      Yes
    • Previous Issue Keys:
      KNL-682

      Description

      This is a regression related to KNL-589.

      To replicate on 2.8.0rc01:

      1) Create local file on your desktop called asdf.txt with content of "asdf"
      2) Go to course site in Sakai
      3) Upload file to Resources
      4) Download file

      In Firefox, the file will be displayed with bad characters because the file is served as UTF-32LE. The KNL-589 code should be modified to use UTF-8 if the detecting chooses UTF-32LE or UTF-16.

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  dhorwitz David Horwitz
                  Reporter:
                  ottenhoff Sam Ottenhoff
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  1 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved:

                    Git Source Code