-
-
Notifications
You must be signed in to change notification settings - Fork 5
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[BUG] Escaping special characters in searches #28
Comments
I assume you propose that we escape any special character from searches.
|
Do you know of a way of escaping them other than JavaScript? How I'd do it is by adding something like 'on submit, look for these characters and add a \ before them'.
|
The special characters in the search term should be escaped on the server (in xquery). |
Can you dig up where is the search query is being sent to? |
Actually this issue is about the /documentation repository rather than this, I think. |
Yep, I agree. And it will then also be fixed for both. |
Closing this and opening this. |
When the input search string contains a parenthesis Lucene interprets it as an unescaped special character. For instance, searching for test) or httpclient() .
The text was updated successfully, but these errors were encountered: