Review Attachments do not have their encoding correctly determined

XMLWordPrintable

    • Type: Bug
    • Resolution: Fixed
    • Priority: Low
    • 3.4.0, 3.3.2
    • Affects Version/s: 2.9.1, 3.3.1
    • Component/s: None
    • None

      There are two problems:

      StringUtil.isText() does not check for UTF-8
      The setUploadContentType() methods AddUploadBaseAction and CreateSnippetAction do not use our suffix to mime-type mapping file – they just use whatever content type is suggested by Webwork's FileUploadInterceptor.

      edit CreateSnippetAction is OK – it doesn't actually use uploads.

              Assignee:
              Tom Davies
              Reporter:
              Tom Davies
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved:

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - Not Specified
                  Not Specified
                  Logged:
                  Time Spent - 28m
                  28m