[
https://issues.apache.org/jira/browse/SOLR-4265?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13544300#comment-13544300
]
Uwe Schindler commented on SOLR-4265:
-------------------------------------
bq. Makes sense, I just wasn't sure there was always a way to get the raw
string before the container tried to do some decoding for you.
getQueryString() does not do any decoding, the part after the ? in the request
URL is returned unmodified. And this one contains only ASCII, if the URL is
correct, because the HTTP protocol only knows ASCII in the protocol part
(warning: this differes from URI definition, but URI != URL).
bq. See SolrRequestParsers.parseQueryString
Great, we should use this also for the request parameters in getQueryString()!
Then you can put the Solr WAR file into Tomcat and it would just work(tm)
without configuration issues.
> Encoding problem from test console
> ----------------------------------
>
> 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
> Priority: Blocker
> Attachments: 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: [email protected]
For additional commands, e-mail: [email protected]