Skip to content

Remove tracking query parameters by default - #1267

Open
be-student wants to merge 1 commit into
OpenTermsArchive:mainfrom
be-student:fix/1263-default-tracking-params
Open

Remove tracking query parameters by default#1267
be-student wants to merge 1 commit into
OpenTermsArchive:mainfrom
be-student:fix/1263-default-tracking-params

Conversation

@be-student

Copy link
Copy Markdown

Summary

  • use the 23 current PrivacyTests tracking query parameters when removeQueryParams is enabled without configuration
  • preserve explicit string, array, and empty-array configurations
  • cover both direct filter behavior and the runtime filter-context path

Closes #1263

The default list is pinned to privacytests/privacytests@dda473a, so its provenance and update boundary are explicit.

Validation

  • Baseline: the new default-list regression failed because all 23 tracking parameters remained in the URL
  • npm run test:only -- src/archivist/fetcher/index.test.js src/archivist/extract/filter.test.js src/archivist/extract/exposedFilters.test.js (65 passing)
  • npx eslint src/archivist/extract/exposedFilters.js src/archivist/extract/exposedFilters.test.js src/archivist/extract/filter.test.js
  • git diff --check

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.

Remove tracking query parameters by default

1 participant