Lucene - Core
  1. Lucene - Core
  2. LUCENE-5068

QueryParserUtil.escape() does not escape forward slash

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Minor 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.

        Activity

        Hide
        ASF subversion and git services added a comment -

        Commit 1498770 from Steve Rowe
        [ https://svn.apache.org/r1498770 ]

        LUCENE-5068: QueryParserUtil.escape() does not escape forward slash.

        Show
        ASF subversion and git services added a comment - Commit 1498770 from Steve Rowe [ https://svn.apache.org/r1498770 ] LUCENE-5068 : QueryParserUtil.escape() does not escape forward slash.
        Hide
        ASF subversion and git services added a comment -

        Commit 1498771 from Steve Rowe
        [ https://svn.apache.org/r1498771 ]

        LUCENE-5068: QueryParserUtil.escape() does not escape forward slash. (merge trunk r1498770)

        Show
        ASF subversion and git services added a comment - Commit 1498771 from Steve Rowe [ https://svn.apache.org/r1498771 ] LUCENE-5068 : QueryParserUtil.escape() does not escape forward slash. (merge trunk r1498770)
        Hide
        Steve Rowe added a comment -

        Committed to trunk and branch_4x.

        Thanks Matias!

        Show
        Steve Rowe added a comment - Committed to trunk and branch_4x. Thanks Matias!
        Hide
        Steve Rowe added a comment -

        Bulk close resolved 4.4 issues

        Show
        Steve Rowe added a comment - Bulk close resolved 4.4 issues

          People

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

            Dates

            • Created:
              Updated:
              Resolved:

              Development