Skip to content
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

Improve the AMP link protection test page #110

Merged
merged 1 commit into from
Dec 5, 2022

Conversation

kzar
Copy link
Collaborator

@kzar kzar commented Dec 5, 2022

  • Some expected URLs were wrong (e.g. missing trailing /), let's correct
    those.
  • Replace ampersands in expected URLs with the proper character
    entity, so that they are handled correctly.
  • Simplify the ampproject.org example so that it doesn't contain
    parameters which will be stripped by tracking parameter protection and
    so that it doesn't contain a fragment part in the middle of the
    query parameters (which is invalid).
  • Add a note that some of the test cases will be redirected
    successfully on desktop, even without AMP protection enabled.

- Corrected some expected URLs (e.g. added missing trailing '/'s).
- Replaced ampersands in expected URLs with the proper character
  entity, so that they are handled correctly.
- Simplified the ampproject.org example so that it doesn't contain
  parameters which will be stripped by tracking parameter protection and
  so that it doesn't contain a fragment part in the middle of the
  query parameters (which is invalid).
- Added  a note that some of the test cases will be redirected
  successfully on desktop, even without AMP protection enabled.
- Removed some trailing whitespace.
@SlayterDev SlayterDev merged commit 4afb772 into duckduckgo:main Dec 5, 2022
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.

2 participants