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 "Brian Whitman (JIRA)" <ji...@apache.org> on 2009/02/24 02:52:02 UTC

[jira] Created: (SOLR-1034) ClientUtils.escapeQuery should escape ;

ClientUtils.escapeQuery should escape ;
---------------------------------------

                 Key: SOLR-1034
                 URL: https://issues.apache.org/jira/browse/SOLR-1034
             Project: Solr
          Issue Type: Bug
          Components: clients - java
    Affects Versions: 1.4
         Environment: all
            Reporter: Brian Whitman
            Priority: Minor
             Fix For: 1.4


The ClientUtils escapeQueryChars does not escape a ; symbol. This causes some unexpected lexical errors when parsing query strings with ; in them.

See

http://mail-archives.apache.org/mod_mbox/lucene-solr-user/200902.mbox/%3cdbd9700a0902231722n5db79dc0u7363603f930be80a@mail.gmail.com%3e




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


[jira] Updated: (SOLR-1034) ClientUtils.escapeQuery should escape ;

Posted by "Brian Whitman (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/SOLR-1034?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Brian Whitman updated SOLR-1034:
--------------------------------

    Attachment: SOLR-ESCAPE.patch

Patch to escape ;

> ClientUtils.escapeQuery should escape ;
> ---------------------------------------
>
>                 Key: SOLR-1034
>                 URL: https://issues.apache.org/jira/browse/SOLR-1034
>             Project: Solr
>          Issue Type: Bug
>          Components: clients - java
>    Affects Versions: 1.4
>         Environment: all
>            Reporter: Brian Whitman
>            Priority: Minor
>             Fix For: 1.4
>
>         Attachments: SOLR-ESCAPE.patch
>
>
> The ClientUtils escapeQueryChars does not escape a ; symbol. This causes some unexpected lexical errors when parsing query strings with ; in them.
> See
> http://mail-archives.apache.org/mod_mbox/lucene-solr-user/200902.mbox/%3cdbd9700a0902231722n5db79dc0u7363603f930be80a@mail.gmail.com%3e

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


[jira] Assigned: (SOLR-1034) ClientUtils.escapeQuery should escape ;

Posted by "Ryan McKinley (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/SOLR-1034?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Ryan McKinley reassigned SOLR-1034:
-----------------------------------

    Assignee: Ryan McKinley

> ClientUtils.escapeQuery should escape ;
> ---------------------------------------
>
>                 Key: SOLR-1034
>                 URL: https://issues.apache.org/jira/browse/SOLR-1034
>             Project: Solr
>          Issue Type: Bug
>          Components: clients - java
>    Affects Versions: 1.4
>         Environment: all
>            Reporter: Brian Whitman
>            Assignee: Ryan McKinley
>            Priority: Minor
>             Fix For: 1.4
>
>         Attachments: SOLR-ESCAPE.patch
>
>
> The ClientUtils escapeQueryChars does not escape a ; symbol. This causes some unexpected lexical errors when parsing query strings with ; in them.
> See
> http://mail-archives.apache.org/mod_mbox/lucene-solr-user/200902.mbox/%3cdbd9700a0902231722n5db79dc0u7363603f930be80a@mail.gmail.com%3e

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


[jira] Resolved: (SOLR-1034) ClientUtils.escapeQuery should escape ;

Posted by "Ryan McKinley (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/SOLR-1034?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Ryan McKinley resolved SOLR-1034.
---------------------------------

    Resolution: Fixed

Committed revision 747260.

thanks brian

> ClientUtils.escapeQuery should escape ;
> ---------------------------------------
>
>                 Key: SOLR-1034
>                 URL: https://issues.apache.org/jira/browse/SOLR-1034
>             Project: Solr
>          Issue Type: Bug
>          Components: clients - java
>    Affects Versions: 1.4
>         Environment: all
>            Reporter: Brian Whitman
>            Assignee: Ryan McKinley
>            Priority: Minor
>             Fix For: 1.4
>
>         Attachments: SOLR-ESCAPE.patch
>
>
> The ClientUtils escapeQueryChars does not escape a ; symbol. This causes some unexpected lexical errors when parsing query strings with ; in them.
> See
> http://mail-archives.apache.org/mod_mbox/lucene-solr-user/200902.mbox/%3cdbd9700a0902231722n5db79dc0u7363603f930be80a@mail.gmail.com%3e

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