SoupRequestFile: fix handling of URIs with query components
authorDan Winship <danw@gnome.org>
Fri, 24 Feb 2012 16:55:45 +0000 (11:55 -0500)
committerDan Winship <danw@gnome.org>
Fri, 24 Feb 2012 16:57:56 +0000 (11:57 -0500)
commitbf2e998408466d904fb3561789869f1f3e88d7eb
treeee28a7bf57c125cba32967ac13b2a6909ae8bfe8
parenta619eef0f076e4e5dd96bc6d1309b63aa7e2aecd
SoupRequestFile: fix handling of URIs with query components

At the moment, gio mishandles file: URIs with query components,
so strip them out before passing the URI to gio.

Also remove some useless code from an earlier incarnation of
SoupRequestFile.
libsoup/soup-request-file.c