[FFmpeg-devel] [PATCH] http: handle URLs with spaces

Andrey Utkin andrey.krieger.utkin at gmail.com
Fri Jan 31 17:52:36 CET 2014


2014-01-31 Lukasz M <lukasz.m.luki at gmail.com>:
> On 31 January 2014 16:45, Nicolas George <george at nsup.org> wrote:
>
>> Le duodi 12 pluviôse, an CCXXII, wm4 a écrit :
>> > Because users want to play URLs that have spaces in them.
>>
>> URLs do not have space in them, period. How do you obtain them?
>>
>
> Basically it's true, but it may be convenient. Some extra option to enable
> escaping could be an compromise.
> But it should escape all characters that are not allowed, not just spaces.

We cannot perform full escaping (urlencode conversion) seamlessly,
because we would get spare conversion of "%" sign to "%25" if user has
supplied already urlencoded url.
_Option_ to perform urlencode internally is possible, although i think
there are a lot of possibilities to do this conversion outside of
ffmpeg.

-- 
Andrey Utkin


More information about the ffmpeg-devel mailing list