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

Fix: Handle query parameters in m3u8 URL validation #335

Merged
merged 1 commit into from
Dec 4, 2024

Conversation

Yidaotus
Copy link
Contributor

@Yidaotus Yidaotus commented Dec 3, 2024

This pull request addresses a bug in the URL validation logic for m3u8 video sources. Previously, the code checked if the URL ended with ".m3u8" without considering query parameters, which caused valid URLs like /manifest.m3u8?parameter=2 to be incorrectly rejected.

Copy link
Member

@hkonsti hkonsti left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for submitting. Makes perfect sense

@hkonsti hkonsti merged commit 1d9431f into redotvideo:main Dec 4, 2024
5 of 6 checks passed
@Yidaotus Yidaotus deleted the fix-m3u8-query-params branch December 5, 2024 15:17
@hkonsti
Copy link
Member

hkonsti commented Dec 6, 2024

@Yidaotus this is in the 0.10.2 release

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