Uploaded image for project: 'Lucene - Core'
  1. Lucene - Core
  2. LUCENE-5068

QueryParserUtil.escape() does not escape forward slash

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 4.0
    • Fix Version/s: 4.4, 6.0
    • Component/s: core/queryparser
    • Labels:
      None
    • Lucene Fields:
      New

      Description

      QueryParserUtil.escape() and QueryParser.escape() have different implementations. Most important, the former omit escaping forward slash ("/"). This again caused errors in the queryparser when a query ended with forward slash.

        Attachments

          Activity

            People

            • Assignee:
              steve_rowe Steve Rowe
              Reporter:
              matias Matias Holte
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: