aboutsummaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorSergio Villar Senin <svillar@igalia.com>2012-02-24 20:41:13 +0800
committerSergio Villar Senin <svillar@igalia.com>2012-02-24 20:41:23 +0800
commit62df9fbfc122699b421e541828d1b6dfd259269f (patch)
tree81e5a27bbf062780dbde5008ec26e1535c56c472 /lib
parentb06ecbac6b9183d75bab0497a80028ca9a8595bf (diff)
downloadgsoc2013-epiphany-62df9fbfc122699b421e541828d1b6dfd259269f.tar
gsoc2013-epiphany-62df9fbfc122699b421e541828d1b6dfd259269f.tar.gz
gsoc2013-epiphany-62df9fbfc122699b421e541828d1b6dfd259269f.tar.bz2
gsoc2013-epiphany-62df9fbfc122699b421e541828d1b6dfd259269f.tar.lz
gsoc2013-epiphany-62df9fbfc122699b421e541828d1b6dfd259269f.tar.xz
gsoc2013-epiphany-62df9fbfc122699b421e541828d1b6dfd259269f.tar.zst
gsoc2013-epiphany-62df9fbfc122699b421e541828d1b6dfd259269f.zip
ephy-profile-utils: shut up libsoup runtime warning
It was actually more than a warning. It was preventing epy to recover passwords previously stored in the keyring, as all of them were stored using "/" as the path of the URI. https://bugzilla.gnome.org/show_bug.cgi?id=670431
Diffstat (limited to 'lib')
-rw-r--r--lib/ephy-profile-utils.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/ephy-profile-utils.c b/lib/ephy-profile-utils.c
index dfa6527be..4b923ba3e 100644
--- a/lib/ephy-profile-utils.c
+++ b/lib/ephy-profile-utils.c
@@ -99,7 +99,7 @@ normalize_and_prepare_uri (SoupURI *uri,
if (g_str_equal (uri->scheme, SOUP_URI_SCHEME_HTTPS))
soup_uri_set_scheme (uri, SOUP_URI_SCHEME_HTTP);
- soup_uri_set_path (uri, NULL);
+ soup_uri_set_path (uri, "/");
/* Store the form login and password names encoded in the
* URL. A bit of an abuse of keyring, but oh well */