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

Armin Hasitzka armin at grabyo.com
Tue Oct 1 14:58:24 EEST 2019


Cool :) Please let me know if the attached patch works for you (tried to
follow ffmpeg's code&commit style).

Armin

On Tue, 1 Oct 2019 at 12:16, Carl Eugen Hoyos <ceffmpeg at gmail.com> wrote:

> Am Di., 1. Okt. 2019 um 10:32 Uhr schrieb Armin Hasitzka <armin at grabyo.com
> >:
>
> > 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.
>
> Please use git format-patch to produce a patch that can be committed
> with git am.
>
> Carl Eugen
> _______________________________________________
> ffmpeg-devel mailing list
> ffmpeg-devel at ffmpeg.org
> https://ffmpeg.org/mailman/listinfo/ffmpeg-devel
>
> To unsubscribe, visit link above, or email
> ffmpeg-devel-request at ffmpeg.org with subject "unsubscribe".



-- 

*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.2.patch
Type: application/octet-stream
Size: 1310 bytes
Desc: not available
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20191001/7c760030/attachment.obj>


More information about the ffmpeg-devel mailing list