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

Make YoutubeLinkEnhancement URL parsing more robust. #4003

Merged
merged 1 commit into from
Sep 4, 2024

Commits on Sep 3, 2024

  1. Make YoutubeLinkEnhancement URL parsing more robust.

    [URL API] `searchParams` works in all browsers as of 2017. It also
    considerably simplifies the code and makes the intent much clearer.
    
    Resolves
    https://github.com/alphagov/govuk_publishing_components/security/code-scanning/1
    
    [URL API]: https://developer.mozilla.org/en-US/docs/Web/API/URL
    sengi authored and andysellick committed Sep 3, 2024
    Configuration menu
    Copy the full SHA
    fbcdeb5 View commit details
    Browse the repository at this point in the history