url: remove vlc_UrlParse() option parameter
authorRémi Denis-Courmont <remi@remlab.net>
Thu, 27 Aug 2015 18:22:25 +0000 (21:22 +0300)
committerRémi Denis-Courmont <remi@remlab.net>
Thu, 27 Aug 2015 18:35:34 +0000 (21:35 +0300)
commitd7a88fe038a9a1d56773d576365d4f6243f4d450
treeeec7690d9e76014beab455c42af624022cfb1d76
parent0e4ff2698dfa0144a25d162a562603fda08412fa
url: remove vlc_UrlParse() option parameter

That parameter assumed that the query was part of the path. However it
is not, which leads to invalid host name, and eventually failure when
the path is missing. In practice, passing any value other than '?' as
separator would not work properly.

Remaining vlc_UrlParse() call sites without the option separator do not
support query at the protocol level anyway, so they are unaffected by the
change.

Signed-off-by: Rémi Denis-Courmont <remi@remlab.net>
26 files changed:
include/vlc_url.h
modules/access/dsm/access.c
modules/access/ftp.c
modules/access/gnomevfs.c
modules/access/http.c
modules/access/live555.cpp
modules/access/mms/mmsh.c
modules/access/mms/mmstu.c
modules/access/rdp.c
modules/access/sftp.c
modules/access/vnc.c
modules/access_output/shout.c
modules/control/oldrc.c
modules/demux/adaptative/http/Chunk.cpp
modules/lua/intf.c
modules/lua/libs/net.c
modules/misc/audioscrobbler.c
modules/misc/rtsp.c
modules/services_discovery/upnp.cpp
modules/stream_out/rtp.c
modules/stream_out/vod.c
share/lua/README.txt
src/input/item.c
src/network/httpd.c
src/test/url.c
src/text/url.c