Skip to content

Input validation: date range #3521

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

Open
jcoyne opened this issue Mar 10, 2025 · 0 comments
Open

Input validation: date range #3521

jcoyne opened this issue Mar 10, 2025 · 0 comments

Comments

@jcoyne
Copy link
Member

jcoyne commented Mar 10, 2025

I was able to manipulate a query to add OR id:[* TO *] to a facet filter by using this URL:

/catalog?f[accessioned_latest_dttsi][]=[2024-12-20T00%3A00%3A00.000Z+TO+2025-01-01T23%3A59%3A59.000Z] OR id%3A[* TO *]

We should probably prevent something like this, but I'm not sure how to do this without potentially breaking some "in the wild" usage.

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

No branches or pull requests

1 participant