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

'&' in key-file URL gets parsed out #91

Open
Pfuenzle opened this issue Dec 1, 2020 · 0 comments
Open

'&' in key-file URL gets parsed out #91

Pfuenzle opened this issue Dec 1, 2020 · 0 comments

Comments

@Pfuenzle
Copy link

Pfuenzle commented Dec 1, 2020

In the method parse_tag in hls.c, in line 284 & 285 (

hlsdl/src/hls.c

Line 284 in 84c1ded

if ((sscanf(tag, "#EXT-X-KEY:METHOD=AES-128,URI=\"%[^\"]\",IV=0%c%32[0-9a-f]", link_to_key, &sep, iv_str) > 0 ||
)
, where the URL to the key-file gets parsed, if the link is containing a '&', the & and everything after it gets ignored. This causes a 404 error, if that part is needed for a working URL, as seen here: #81

I tried some thing to make it not ignore it, but I was not able to, as Im not familiar with this kind of parsing

@Pfuenzle Pfuenzle changed the title '&' gets parsed out '&' in key-file URL gets parsed out Dec 1, 2020
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

No branches or pull requests

1 participant