Uploaded image for project: 'Solr'
  1. Solr
  2. SOLR-4265

Fix decoding of GET/POST parameters for servlet containers with non-UTF-8 URL parsing (Tomcat)

Attach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 4.0
    • Fix Version/s: 4.1, 6.0
    • Component/s: Admin UI
    • Labels:
      None
    • Environment:

      Windows but, environment independent

      Description

      When you type an accent (in french language for example) in the console query tester, there's no charset conversion (servlet request charset conversion)
      Eg.: "même" is converted into it's ISO-8859-1 representation ==> fail

      The reason : getCharacterEncoding from HTTPRequest is not tested. Il it's null, il will assume to convert an UTF-8 encoding charset.

        Attachments

        1. SolrDispatchFilter.java.patch
          0.6 kB
          Uwe Schindler
        2. SOLR-4265.patch
          16 kB
          Uwe Schindler
        3. SOLR-4265.patch
          18 kB
          Uwe Schindler
        4. CropperCapture[4].png
          41 kB
          Dawid Weiss
        5. CropperCapture[5].png
          33 kB
          Dawid Weiss
        6. CropperCapture[6].png
          32 kB
          Dawid Weiss
        7. SOLR-4265.patch
          32 kB
          Uwe Schindler
        8. SOLR-4265.patch
          32 kB
          Uwe Schindler
        9. SOLR-4265.patch
          33 kB
          Uwe Schindler
        10. SOLR-4265.patch
          44 kB
          Uwe Schindler

        Issue Links

          Activity

            People

            • Assignee:
              uschindler Uwe Schindler
              Reporter:
              gnx_androidoman Alex Rocher

              Dates

              • Created:
                Updated:
                Resolved:

                Issue deployment