Bug 566530 - Handle (illegal) unencoded spaces in URIs
authorDan Winship <danw@src.gnome.org>
Mon, 23 Mar 2009 21:39:40 +0000 (21:39 +0000)
committerDan Winship <danw@src.gnome.org>
Mon, 23 Mar 2009 21:39:40 +0000 (21:39 +0000)
commitd1efe3dad63edf97a2bc7b06cd7c1c9c9603ac31
treefcee73b46dbbc7710969f2679a03cc0a18e23800
parent035ecf09bfe1f671ca88f41d59879928b614f39a
Bug 566530 - Handle (illegal) unencoded spaces in URIs

* libsoup/soup-uri.c (uri_normalized_copy): optionally fix up
parts with unencoded spaces in them.
(soup_uri_new_with_base): tell uri_normalized_copy() to fix up
spaces in the path and query components

* tests/uri-parsing.c (abs_tests): test parsing and unparsing a
URI with an unencoded space in it.

* tests/redirect-test.c (tests, server_callback): add a test of
redirecting to a URI with an unencoded space in it.

svn path=/trunk/; revision=1252
ChangeLog
libsoup/soup-uri.c
tests/redirect-test.c
tests/uri-parsing.c