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

Add U+02BB/U+02BC to disallow tsquery characters #487

Merged
merged 1 commit into from
Jul 20, 2022

Conversation

vitalinfo
Copy link
Contributor

@vitalinfo vitalinfo commented Jul 20, 2022

Added U+02BB/U+02BC quotes to DISALLOWED_TSQUERY_CHARACTERS otherwise get an error
PG::SyntaxError: ERROR: syntax error in tsquery:

p.s. Does it make sense to add PgSearch configurator to provide an ability to set this characters outside the gem?

@nertzy
Copy link
Collaborator

nertzy commented Jul 20, 2022

I think the configurator is a good idea.

I wish I could find a definitive list of which characters are not allowed.

@nertzy nertzy merged commit e018764 into Casecommons:master Jul 20, 2022
@swrobel swrobel mentioned this pull request Feb 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants