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
Fix percent encoding errors for param stripping #1988
Conversation
Looks good @SlayterDev , I've left some comments. At a higher level though, I wonder if this should be two changes.
What do you think? |
That sounds like a follow up investigation. I'd concentrate on this issue first to not add further risk. |
Co-authored-by: Dave Vandyke <kzar@kzar.co.uk>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Some failing unit tests to fix, but otherwise LGTM
* Re-enable URL parameter stripping in the extension This has been fixed in duckduckgo/duckduckgo-privacy-extension#1988 * Add min version
Reviewer: @jonathanKingston @kzar
Description:
This fixes url param stripping when parameters aren't properly percent decoded. Note I've also removed code that deals with Regex parameters as we no longer have these in our lists.
Steps to test this PR:
Make sure to enable queryParameters in your local config.
Check the tests here: https://privacy-test-pages.glitch.me/privacy-protections/query-parameters/
Automated tests:
Reviewer Checklist:
PR Author Checklist: