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

Simple quotes are not properly escaped when doing a regex query #1201

Closed
bobeal opened this issue Jul 25, 2024 · 1 comment · Fixed by #1227
Closed

Simple quotes are not properly escaped when doing a regex query #1201

bobeal opened this issue Jul 25, 2024 · 1 comment · Fixed by #1227
Assignees
Labels
core Relates to core API fix Something isn't working

Comments

@bobeal
Copy link
Member

bobeal commented Jul 25, 2024

It then raises an error in Stellio:

java.lang.IllegalArgumentException: Sql cannot be parsed: unclosed quoted identifier (identifier opened at index 439) in statement: SELECT ...
@bobeal bobeal added fix Something isn't working core Relates to core API labels Jul 25, 2024
@github-project-automation github-project-automation bot moved this to Short term in Roadmap Jul 25, 2024
@bobeal
Copy link
Member Author

bobeal commented Aug 16, 2024

It can be reproduced with such a regex query: /ngsi-ld/v1/entities?q=includedParameters~="(?i).*température de l'eau.*"&type=Dataset

@ranim-n ranim-n linked a pull request Aug 23, 2024 that will close this issue
@bobeal bobeal moved this from In progress to Review in progress in Roadmap Aug 28, 2024
@github-project-automation github-project-automation bot moved this from In progress to Done in Roadmap Aug 30, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
core Relates to core API fix Something isn't working
Projects
Status: Done
Development

Successfully merging a pull request may close this issue.

2 participants