Bug#689530: gst123: applies RFC3986 percent-decoding even to local files

Raphael Geissert geissert at debian.org
Wed Oct 3 16:59:13 UTC 2012


Package: gst123
Version: 0.2.2-1

Hi,

gst123, or something underneath it applies RFC3986 percent-decoding even to 
local files, which prevents some files to be played without having to change 
their name. E.g.

$ touch "foo%20%20bar.ogg"
$ gst123 foo%20%20bar.ogg 
                                                                                                                                                
Playing file:///tmp/foo%20%20bar.ogg
Error: Resource not found.                                                                                                                      
=> file cannot be played and will be removed from playlist
$ strace -e open gst123 foo%20%20bar.ogg 2>&1 | grep /tmp/                                                                   
open("/tmp/foo%20%20bar.ogg", O_RDONLY|O_LARGEFILE) = 6
open("/tmp/foo%20%20bar.ogg", O_RDONLY|O_LARGEFILE) = 6
open("/tmp/foo  bar.ogg", O_RDONLY|O_LARGEFILE) = -1 ENOENT (No such file or 
directory)
open("/tmp/foo  bar.ogg", O_RDONLY|O_LARGEFILE) = -1 ENOENT (No such file or 
directory)
Playing file:///tmp/foo%20%20bar.ogg

Cheers,
-- 
Raphael Geissert - Debian Developer
www.debian.org - get.debian.net



More information about the pkg-gstreamer-maintainers mailing list