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)

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 4.0
    • 4.1, 6.0
    • Admin UI
    • None
    • 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. CropperCapture[4].png
          41 kB
          Dawid Weiss
        2. CropperCapture[5].png
          33 kB
          Dawid Weiss
        3. CropperCapture[6].png
          32 kB
          Dawid Weiss
        4. SOLR-4265.patch
          44 kB
          Uwe Schindler
        5. SOLR-4265.patch
          33 kB
          Uwe Schindler
        6. SOLR-4265.patch
          32 kB
          Uwe Schindler
        7. SOLR-4265.patch
          32 kB
          Uwe Schindler
        8. SOLR-4265.patch
          18 kB
          Uwe Schindler
        9. SOLR-4265.patch
          16 kB
          Uwe Schindler
        10. SolrDispatchFilter.java.patch
          0.6 kB
          Uwe Schindler

        Issue Links

          Activity

            People

              uschindler Uwe Schindler
              gnx_androidoman Alex Rocher
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: