-
Notifications
You must be signed in to change notification settings - Fork 85
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
Error when doing a query on resources #1183
Labels
Comments
tdruez
added a commit
that referenced
this issue
May 6, 2024
Signed-off-by: tdruez <[email protected]>
tdruez
added a commit
that referenced
this issue
May 7, 2024
Signed-off-by: tdruez <[email protected]>
tdruez
added a commit
that referenced
this issue
May 7, 2024
Signed-off-by: tdruez <[email protected]>
Added validation in #1210 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I run a "scan_single_package" scan with this (large) input https:/moby/buildkit/archive/refs/tags/v0.13.2.tar.gz
Then I go to the Resources page and eventually I craft this (possibly incorrect) query in the search box:
I get a 500 error.
https://<scancode.io>/project/httpsgithubcommobybuildkitarchiverefstagsv0132targz-e51adcdc/resources/?search=-detected_license_expression%3D%3Aapache-2.0+-detected_license_expression%3D%3A"apache-2.0+AND+bsd-new"+"+%09%09-detected_license_expression%3D%3A"apache-2.0+OR+gpl-2.0-plus"&detected_license_expression=ANY&sort=detected_license_expression#syntax
The extra quote in the middle of the line is the culprit because this does not fail:
It looks like I can reproduce with a simple query like
foo"
with an unbalanced quoteThe text was updated successfully, but these errors were encountered: