[epiphany] ephy-profile-utils: shut up libsoup runtime warning
- From: Sergio Villar Senin <svillar src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [epiphany] ephy-profile-utils: shut up libsoup runtime warning
- Date: Fri, 24 Feb 2012 12:44:53 +0000 (UTC)
commit 62df9fbfc122699b421e541828d1b6dfd259269f
Author: Sergio Villar Senin <svillar igalia com>
Date: Fri Feb 24 13:41:13 2012 +0100
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
lib/ephy-profile-utils.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/lib/ephy-profile-utils.c b/lib/ephy-profile-utils.c
index dfa6527..4b923ba 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 */
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]