Skip to content

Fix: retain query params in urlToRelativePath #240

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

Conversation

mcintyrehh
Copy link
Contributor

@mcintyrehh mcintyrehh commented Jul 27, 2025

Description

Please describe the changes:

  • Updates the urlToRelativePath util to persist the destination url's query params and hash in the relative path that is returned.

In the case of CMCD's nor key it is important to persist the original url's query params, as these may contain signatures or other information required for the pre-fetching of the next segment.

Requirements Checklist

  • All commits have DCO sign-off from the author
  • Unit Tests updated or fixed
  • Docs/guides updated

@mcintyrehh mcintyrehh requested review from a team as code owners July 27, 2025 19:47
@mcintyrehh mcintyrehh changed the title Fix/retain nor query params Fix: retain query params in urlToRelativePath Jul 27, 2025
littlespex
littlespex previously approved these changes Jul 28, 2025
@littlespex
Copy link
Collaborator

Don't forget to add yourself to the CONTRIBUTORS.md file.

@mcintyrehh mcintyrehh force-pushed the fix/retain-nor-query-params branch from 4b1f6c0 to a82409b Compare July 28, 2025 23:05
@littlespex littlespex merged commit 37ace47 into streaming-video-technology-alliance:main Jul 29, 2025
1 of 2 checks passed
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