diff options
author | Dan Winship <danw@gnome.org> | 2013-01-21 10:50:16 -0500 |
---|---|---|
committer | Dan Winship <danw@gnome.org> | 2013-01-21 10:51:17 -0500 |
commit | e38317b878708d67ba3a67d3ec2972ab8355fb83 (patch) | |
tree | b9b3f1d0f506fa3d8d9c429c87823a6fd518ae6b /tests | |
parent | 341f51afe386de78c780855961bc7e010e9b0b13 (diff) | |
download | libsoup-e38317b878708d67ba3a67d3ec2972ab8355fb83.tar.gz libsoup-e38317b878708d67ba3a67d3ec2972ab8355fb83.tar.bz2 libsoup-e38317b878708d67ba3a67d3ec2972ab8355fb83.zip |
Revert "SoupURI: replace NULL password with "" on http"
This broke CalDAV in evolution. I'm not sure exactly why, but if it
broke that, it might break other things too, so let's just revert
this.
This reverts commit 38901ca5e684a8fac75e6ff740d45c82dd44181a.
https://bugzilla.gnome.org/show_bug.cgi?id=692149
Diffstat (limited to 'tests')
-rw-r--r-- | tests/uri-parsing.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/tests/uri-parsing.c b/tests/uri-parsing.c index 7992d70b..892ee2b9 100644 --- a/tests/uri-parsing.c +++ b/tests/uri-parsing.c @@ -23,15 +23,15 @@ static struct { { "ftp://user:password@host", "ftp://user@host", { "ftp", "user", "password", "host", 21, "", NULL, NULL } }, { "http://us%65r@host", "http://user@host/", - { "http", "user", "", "host", 80, "/", NULL, NULL } }, + { "http", "user", NULL, "host", 80, "/", NULL, NULL } }, { "http://us%40r@host", "http://us%40r@host/", - { "http", "us\x40r", "", "host", 80, "/", NULL, NULL } }, + { "http", "us\x40r", NULL, "host", 80, "/", NULL, NULL } }, { "http://us%3ar@host", "http://us%3Ar@host/", - { "http", "us\x3ar", "", "host", 80, "/", NULL, NULL } }, + { "http", "us\x3ar", NULL, "host", 80, "/", NULL, NULL } }, { "http://us%2fr@host", "http://us%2Fr@host/", - { "http", "us\x2fr", "", "host", 80, "/", NULL, NULL } }, + { "http", "us\x2fr", NULL, "host", 80, "/", NULL, NULL } }, { "http://us%3fr@host", "http://us%3Fr@host/", - { "http", "us\x3fr", "", "host", 80, "/", NULL, NULL } }, + { "http", "us\x3fr", NULL, "host", 80, "/", NULL, NULL } }, { "http://host?query", "http://host/?query", { "http", NULL, NULL, "host", 80, "/", "query", NULL } }, { "http://host/path?query=http%3A%2F%2Fhost%2Fpath%3Fchildparam%3Dchildvalue¶m=value", @@ -122,7 +122,7 @@ static struct { { "http", NULL, NULL, "", 80, "//////////////", NULL, NULL } }, { "http://@host", "http://@host/", - { "http", "", "", "host", 80, "/", NULL, NULL } }, + { "http", "", NULL, "host", 80, "/", NULL, NULL } }, { "http://:@host", "http://@host/", { "http", "", "", "host", 80, "/", NULL, NULL } }, |