Uploaded image for project: 'Jackrabbit Content Repository'
  1. Jackrabbit Content Repository
  2. JCR-1748

InvalidQueryException if search string contains escaped single quote

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Invalid
    • None
    • None
    • query
    • None

    Description

      If you try to perform a search like this

      //element(*, nt:base)[jcr:contains(., 'get\'em all')]

      you get this exception

      javax.jcr.query.InvalidQueryException: Lexical error at line 1, column 74. Encountered: <EOF> after : "\')] return $v"

      Attachments

        Activity

          People

            Unassigned Unassigned
            eyeless_watcher Ruslan Romanov
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: