Uploaded image for project: 'Solr'
  1. Solr
  2. SOLR-1034

ClientUtils.escapeQuery should escape ;

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 1.4
    • Fix Version/s: 1.4
    • Component/s: clients - java
    • Labels:
      None
    • Environment:

      all

      Description

      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

        Attachments

        1. SOLR-ESCAPE.patch
          0.8 kB
          Brian Whitman

          Activity

            People

            • Assignee:
              ryantxu Ryan McKinley
              Reporter:
              bwhitman Brian Whitman
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: