[FFmpeg-devel] [PATCH] Handle the following type of relative URL correctly:

Duncan Salerno duncan.salerno at gmail.com
Tue Sep 25 20:25:01 CEST 2012

On Tue, Sep 25, 2012 at 12:06 AM, Clément Bœsch <ubitux at gmail.com> wrote:
> On Sun, Sep 23, 2012 at 09:12:54PM +0100, Duncan Salerno wrote:
>> http://a/b + //c/d = http://c/d
>> http://a/b?c + ?d = http://a/b?d
>> http://a/b?c/d + /e = http://a/e
> looks legit.
> Just curious, what kind of specific issue did you expect?

One of the CDN's I looked at had a parameter within the query string
that contained a path (hence /) which broke the current code (it looks
for the last / in the complete URL to figure the directory). That led
me to fix the other 2 cases as well.


More information about the ffmpeg-devel mailing list