-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
Search leading to Internal Error #2256
Labels
bug
Something isn't working
Comments
I found a way to patch this by running re.escape() on the query inside of the problematic function call. |
return42
pushed a commit
to Solirs/searxng
that referenced
this issue
Mar 17, 2023
…ntent Any backslash escapes in the replacement are processed [1], backslashes should be escaped [2]. [1] https://docs.python.org/3/library/re.html#re.sub [2] https://docs.python.org/3/library/re.html#re.escape closes: - searxng#2256 - searxng#2250
dalf
pushed a commit
to dalf/searxng
that referenced
this issue
Mar 17, 2023
…ntent Any backslash escapes in the replacement are processed [1], backslashes should be escaped [2]. [1] https://docs.python.org/3/library/re.html#re.sub [2] https://docs.python.org/3/library/re.html#re.escape closes: - searxng#2256 - searxng#2250
dalf
pushed a commit
to dalf/searxng
that referenced
this issue
Mar 18, 2023
…ntent Any backslash escapes in the replacement are processed [1], backslashes should be escaped [2]. [1] https://docs.python.org/3/library/re.html#re.sub [2] https://docs.python.org/3/library/re.html#re.escape closes: - searxng#2256 - searxng#2250
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Version of SearXNG, commit number if you are using on master branch and stipulate if you forked SearXNG
Take any of the top rated public instances and insert this search:
WARNING: /plugins/Live/VisitorProfile.php(24): Deprecated - Creation of dynamic property Piwik\Plugins\Live\VisitorProfile::$idSite is deprecated - Matomo 4.13.3
... will result in "internal server error"
Expected behavior
Some search result, or masking of "forbidden" characters
The text was updated successfully, but these errors were encountered: