You are viewing a plain text version of this content. The canonical link for it is here.
Posted to solr-dev@lucene.apache.org by "Ryan McKinley (JIRA)" <ji...@apache.org> on 2007/04/01 02:36:25 UTC

[jira] Updated: (SOLR-202) parseQueryString should use UTF-8

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

Ryan McKinley updated SOLR-202:
-------------------------------

    Attachment: SOLR-202-ParseQueryStringUTF8.patch

this one avoids utf8 chars directly in the .java

It tests:

  { "this is simple", "this%20is%20simple" },
  { "this is simple", "this+is+simple" },
  { "\u00FC", "%C3%BC" },   // lower-case "u" with diaeresis/umlaut
  { "\u0026", "%26" },      // &
  { "\u20AC", "%E2%82%AC" } // euro



> parseQueryString should use UTF-8
> ---------------------------------
>
>                 Key: SOLR-202
>                 URL: https://issues.apache.org/jira/browse/SOLR-202
>             Project: Solr
>          Issue Type: Bug
>            Reporter: Ryan McKinley
>            Priority: Minor
>             Fix For: 1.2
>
>         Attachments: SOLR-202-ParseQueryStringUTF8.patch, SOLR-202-ParseQueryStringUTF8.patch
>
>
> update handler should explicitly use UTF-8 decoding  for parameters in the query string:
>    URLDecoder.decode( kv, "UTF-8" );

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.