Uploaded image for project: 'XWiki Platform'
  1. XWiki Platform
  2. XWIKI-6609

FileUpload request handling does not handle UTF-8 characters

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Duplicate
    • Affects Version/s: 1.5
    • Fix Version/s: None
    • Component/s: Actions
    • Labels:
      None
    • Difficulty:
      Unknown
    • Similar issues:

      Description

      This is an old bug. When using file upload, the handling of normal parameters does not handle UTF-8 characters which are garbled.

      This is due to the code in Utils.java handleMultipart which should be

      item.getString(context.getWiki().getEncoding())
      instead of
      item.getString()

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              sdumitriu Sergiu Dumitriu
              Reporter:
              ludovic Ludovic Dubost
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Date of First Response: