lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Uwe Schindler (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (SOLR-4265) Fix decoding of GET/POST parameters for servlet containers with non-UTF-8 URL parsing (Tomcat)
Date Sun, 06 Jan 2013 14:38:12 GMT

     [ https://issues.apache.org/jira/browse/SOLR-4265?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Uwe Schindler updated SOLR-4265:
--------------------------------

    Attachment: SOLR-4265.patch

Final patch for trunk, now committing it.

I added the new maximum formdata setting to example solrconfigs.

I also added some checks in the formdata request parser, so it fails when you have changed
the solr webapplication and added an incompatible Filter before SolrDispatchFilter that calls
Request#getParameter*() and causes the servlet container to incorrectly jump in.
                
> Fix decoding of GET/POST parameters for servlet containers with non-UTF-8 URL parsing
(Tomcat)
> ----------------------------------------------------------------------------------------------
>
>                 Key: SOLR-4265
>                 URL: https://issues.apache.org/jira/browse/SOLR-4265
>             Project: Solr
>          Issue Type: Bug
>          Components: web gui
>    Affects Versions: 4.0
>         Environment: Windows but, environment independent
>            Reporter: Alex Rocher
>            Assignee: Uwe Schindler
>         Attachments: CropperCapture[4].png, CropperCapture[5].png, CropperCapture[6].png,
SOLR-4265.patch, SOLR-4265.patch, SOLR-4265.patch, SOLR-4265.patch, SOLR-4265.patch, SOLR-4265.patch,
SolrDispatchFilter.java.patch
>
>
> 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.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org


Mime
View raw message