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)

    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. SOLR-4265.patch
          32 kB
          Uwe Schindler
        5. SOLR-4265.patch
          32 kB
          Uwe Schindler
        6. SOLR-4265.patch
          33 kB
          Uwe Schindler
        7. SOLR-4265.patch
          44 kB
          Uwe Schindler
        8. CropperCapture[6].png
          32 kB
          Dawid Weiss
        9. CropperCapture[5].png
          33 kB
          Dawid Weiss
        10. CropperCapture[4].png
          41 kB
          Dawid Weiss

          Issue Links

            Activity

              People

              • Assignee:
                thetaphi Uwe Schindler
                Reporter:
                gnx_androidoman Alex Rocher
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: