Skip to content

Conversation

@mgomes
Copy link
Owner

@mgomes mgomes commented Oct 19, 2025

Query params in the request URI can be problematic as pointed out in #123. Since we are going to do a major release soon, this PR introduces a backwards compatible approach to ignoring query params by default.

Fixes #123

@mgomes mgomes merged commit 434b0e9 into master Oct 19, 2025
7 checks passed
@mgomes mgomes deleted the mgomes/strip-query-params branch October 19, 2025 02:35
@fwininger
Copy link
Collaborator

This PR introduce a security issue on the master branch. Please revert the logic and never release the 3.0.0 tag.

Exemple :

I have a website with :

/ressource?id=X

With your change a attacker can access with a signature replay attacks with the same signature the page :

/ressource?id=Y

See this exemple here : https://scs.owasp.org/SCWE/SCSVS-CRYPTO/SCWE-055/

@mgomes
Copy link
Owner Author

mgomes commented Nov 2, 2025

Thanks @fwininger — I'll remove this option.

mgomes added a commit that referenced this pull request Nov 2, 2025
mgomes added a commit that referenced this pull request Nov 2, 2025
* Revert "Strip query params (#222)"

This reverts commit 434b0e9.

* an empty commit
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.

Query strings are problematic

3 participants