Skip to content
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

Handle malformed/malicious querytext #2

Open
2 tasks
piktur opened this issue Jan 19, 2019 · 0 comments
Open
2 tasks

Handle malformed/malicious querytext #2

piktur opened this issue Jan 19, 2019 · 0 comments
Assignees
Labels
bug Something isn't working

Comments

@piktur
Copy link
Owner

piktur commented Jan 19, 2019

Tsquery#parse should:

  • Reject imbalanced parentheses querytext
  • Remove leading/trailing space before inserting tsquery operators

https://github.com/minimaxir/big-list-of-naughty-strings/blob/master/blns.txt

@piktur piktur added the bug Something isn't working label Jan 19, 2019
@piktur piktur self-assigned this Jan 19, 2019
@piktur piktur changed the title Reject imbalanced parentheses when processing tsquery querytext Handle malformed/malicious querytext Jan 19, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant