Improper treatment of percent escaped characters by gstsouphttpsrc

Tim-Philipp Müller t.i.m at zen.co.uk
Thu Nov 22 14:37:46 PST 2012


On Thu, 2012-11-22 at 21:20 +0000, Mateusz Kowalczyk wrote:
> Not Found (404), URL: http://www.notarealurl.net/insub/%255Binsub05%255DJacques_Demierre-1-black_white_memories.mp3"

> Stopping; old url_ is  QUrl( "http://www.notarealurl.net/insub/%5Binsub05%5DJacques_Demierre-1-black_white_memories.mp3" )
> 
> As can be seen above, I make sure a couple of times that the URL I have 
> is correct. Once GStreamer tries to reach it however, it reports a 404 
> error with a mangled URL (number 25 seems to be inserted for some 
> reason; I haven't tried with other escape codes).

It looks like the % in %5B is getting escaped again, to %255B .

Perhaps look at the GST_DEBUG log to see what's going on, and what URI
is actually passed to GStreamer ?

Cheers
 -Tim



More information about the gstreamer-devel mailing list