Uploaded image for project: 'Confluence Data Center'
  1. Confluence Data Center
  2. CONFSERVER-22003

Special characters entered in quick search are not escaped for the real search

      In Confluence exists a page with the title "Fritz!Box". If this title is entered in the quick search it brings up that page. If the real search is used (searchisite.action) it doesn't bring up that result. If the exclamation mark is escaped with a backslash the site is found.

      The search box seems to not escaping those special characters when jumping from the quick search to the real search.

      Workaround:

      If the page title contains any of the special characters, you need to add \ before that character and you will see the search result.

      So in this case the search should be :

       Fritz\!Box

            [CONFSERVER-22003] Special characters entered in quick search are not escaped for the real search

            Minh Tran added a comment -
            Atlassian update

            Thank you for taking the time to raise, comment or vote on this Bug. Currently this bug indicates that it only impacts a version of Confluence which is no longer in support, therefore we are closing this issue as Timed Out.
            If this issue is still impacting you on a recent version please feel free to comment with the affected version. Any further details you may be able to provide regarding reproduction or impact of this issue may help us better address this issue.
            Thanks again.
            Regards,
            Confluence Development

            Minh Tran added a comment - Atlassian update Thank you for taking the time to raise, comment or vote on this Bug. Currently this bug indicates that it only impacts a version of Confluence which is no longer in support, therefore we are closing this issue as Timed Out. If this issue is still impacting you on a recent version please feel free to comment with the affected version. Any further details you may be able to provide regarding reproduction or impact of this issue may help us better address this issue. Thanks again. Regards, Confluence Development

            NielsJ added a comment -

            The following characters are considered special for lucene and must be escaped:

            + - && || ! ( ) { } [ ] ^ " ~ * ? : \
            

            see http://lucene.apache.org/java/2_2_0/queryparsersyntax.html

            NielsJ added a comment - The following characters are considered special for lucene and must be escaped: + - && || ! ( ) { } [ ] ^ " ~ * ? : \ see http://lucene.apache.org/java/2_2_0/queryparsersyntax.html

            NielsJ added a comment -

            This bug is some kind of other occurrence of CONF-5152.

            NielsJ added a comment - This bug is some kind of other occurrence of CONF-5152 .

              Unassigned Unassigned
              50d5a3376884 NielsJ
              Affected customers:
              3 This affects my team
              Watchers:
              4 Start watching this issue

                Created:
                Updated:
                Resolved: