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

plugins: more strict protocol plugin matchers #5367

Conversation

bastimeyer
Copy link
Member

@bastimeyer bastimeyer commented May 29, 2023

Ensure that the entire input is matched.


Fixes #5366

Previously it was possible to trick the implicit matcher of the HLS and DASH plugin to only match parts of the URL due to how the optional parameters are matched. Adding the end-of-string anchor to each regex fixes that.

Ensure that the entire input is matched.
@bastimeyer bastimeyer added the plugin issue A Plugin does not work correctly label May 29, 2023
@gravyboat gravyboat merged commit df239d3 into streamlink:master May 29, 2023
24 checks passed
@bastimeyer bastimeyer deleted the plugins/protocol-plugins/stricter-matchers branch May 29, 2023 22:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
plugin issue A Plugin does not work correctly
Projects
None yet
Development

Successfully merging this pull request may close these issues.

plugins.dash: partial URL gets matched
2 participants