Opened 13 years ago

Last modified 13 years ago

#1925 new defect

url parser cannot deal with %20 (escaped space)

Reported by: christophpfister@… Owned by: reimar
Priority: normal Component: core
Version: HEAD Severity: normal
Keywords: Cc: compn
Blocked By: Blocking:
Reproduced by developer: no Analyzed by developer: no

Description

(git version - 2011-05-28)

"file:///tmp/te%20st.m2t" is a wellformed url which mplayer can't deal with:

$ ./mplayer "file:///tmp/te%20st.m2t"
MPlayer UNKNOWN-4.5.3 (C) 2000-2011 MPlayer Team

Playing file:///tmp/te%20st.m2t.
File not found: '/tmp/te%20st.m2t'
Failed to open file:///tmp/te%20st.m2t.

Exiting... (End of file)

$ ./mplayer "file:///tmp/te st.m2t"
MPlayer UNKNOWN-4.5.3 (C) 2000-2011 MPlayer Team

Playing file:///tmp/te st.m2t.
TS file format detected.
[ etc ]

Change History (1)

comment:1 by compn, 13 years ago

Cc: patriotact@… added

why are you passing url escaped filenames on a local fs?
maybe the url unescaper only is switched on for http/mms/rtsp not file:// ...

Note: See TracTickets for help on using tickets.