Uploaded image for project: 'Crucible'
  1. Crucible
  2. CRUC-6736

Review Attachments do not have their encoding correctly determined

    XMLWordPrintable

Details

    • Bug
    • Status: Closed (View Workflow)
    • Low
    • Resolution: Fixed
    • 2.9.1, 3.3.1
    • 3.4.0, 3.3.2
    • None
    • None

    Description

      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.

      Attachments

        Issue Links

          Activity

            People

              tom@atlassian.com Tom Davies
              tom@atlassian.com Tom Davies
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

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