[FFmpeg-devel] Location header to be ignored with status code 200 (and others)

Armin Hasitzka armin at grabyo.com
Tue Oct 1 11:26:53 EEST 2019


Hi guys,

sorry for dumping this here with HTML formatting (haven't yet figured out
how to turn it off in Gmail); we ran into a weird HLS playlist today that
sends a malformed location header together with a 200 status code (which is
a misconfiguration on a client's system but cannot be changed). A quick dig
shows that location headers are to be ignored in combination with anything
else but a 201 or 3xx (
https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Location) thus we
patched our FFmpeg version as attached. We further believe that this patch
should be applied to FFmpeg for everyone - please let us know what you
think.

Thanks
Armin

-- 

*Armin Hasitzka*

Software Engineer

t: +44 (0) 20 3745 6566

<https://twitter.com/Grabyo> <https://www.facebook.com/grabyo/>
<https://www.linkedin.com/company/grabyo/>

Check out our knowledge base for additional support
<https://help.grabyo.com/hc/en-us>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ffmpeg.http.location.patch
Type: application/octet-stream
Size: 821 bytes
Desc: not available
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20191001/c4c88b52/attachment.obj>


More information about the ffmpeg-devel mailing list