summaryrefslogtreecommitdiff
path: root/libsoup/soup-uri.c
diff options
context:
space:
mode:
authorDan Winship <danw@gnome.org>2013-01-21 10:50:16 -0500
committerDan Winship <danw@gnome.org>2013-01-21 10:51:17 -0500
commite38317b878708d67ba3a67d3ec2972ab8355fb83 (patch)
treeb9b3f1d0f506fa3d8d9c429c87823a6fd518ae6b /libsoup/soup-uri.c
parent341f51afe386de78c780855961bc7e010e9b0b13 (diff)
downloadlibsoup-e38317b878708d67ba3a67d3ec2972ab8355fb83.tar.gz
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 'libsoup/soup-uri.c')
-rw-r--r--libsoup/soup-uri.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/libsoup/soup-uri.c b/libsoup/soup-uri.c
index fdb43785..28b3025c 100644
--- a/libsoup/soup-uri.c
+++ b/libsoup/soup-uri.c
@@ -434,8 +434,6 @@ soup_uri_new_with_base (SoupURI *base, const char *uri_string)
uri->scheme == SOUP_URI_SCHEME_HTTPS) {
if (!uri->path)
uri->path = g_strdup ("/");
- if (uri->user && !uri->password)
- uri->password = g_strdup ("");
if (!SOUP_URI_VALID_FOR_HTTP (uri)) {
soup_uri_free (uri);
return NULL;