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

single quotes not escaped for titles stored in field_value #1909

Open
smutniak opened this issue Feb 29, 2024 · 0 comments
Open

single quotes not escaped for titles stored in field_value #1909

smutniak opened this issue Feb 29, 2024 · 0 comments
Labels

Comments

@smutniak
Copy link
Contributor

problem querying for single apostrophies such as "redacted's" in WHERE clause

WHERE
(fv.field_predicate_id = 11 AND ( (LOWER(fv.value) LIKE '%redacted%'))) AND
(fv.field_predicate_id = 29 AND ( (LOWER(fv.value) LIKE '%redacted redacted's redacted%') OR (LOWER(fv.value) LIKE '%redacted redacted%')))]; nested exception is org.postgresql.util.PSQLException: Unterminated string literal started at position 489 in SQL SELECT

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant