diff options
author | Diego Escalante Urrelo <descalante@igalia.com> | 2010-03-09 10:09:44 +0800 |
---|---|---|
committer | Diego Escalante Urrelo <descalante@igalia.com> | 2010-03-25 09:30:08 +0800 |
commit | 3d770c9d1178eaa45c6f8bb8f82dd7cf7f2b489f (patch) | |
tree | 350da2ac9ed7ec3e67ed831d9720d65715c2643f /lib | |
parent | 5fb98bfcb51adb7318960edb7b2da8d38e71b1cb (diff) | |
download | gsoc2013-epiphany-3d770c9d1178eaa45c6f8bb8f82dd7cf7f2b489f.tar gsoc2013-epiphany-3d770c9d1178eaa45c6f8bb8f82dd7cf7f2b489f.tar.gz gsoc2013-epiphany-3d770c9d1178eaa45c6f8bb8f82dd7cf7f2b489f.tar.bz2 gsoc2013-epiphany-3d770c9d1178eaa45c6f8bb8f82dd7cf7f2b489f.tar.lz gsoc2013-epiphany-3d770c9d1178eaa45c6f8bb8f82dd7cf7f2b489f.tar.xz gsoc2013-epiphany-3d770c9d1178eaa45c6f8bb8f82dd7cf7f2b489f.tar.zst gsoc2013-epiphany-3d770c9d1178eaa45c6f8bb8f82dd7cf7f2b489f.zip |
Remove path when normalizing urls for keyring query
This means we store/retrieve "http://www.gnome.org/" instead of
"http://www.gnome.org/login/". User+passwords are site-wide as long as the form
elements match. This also makes migrated gecko passwords work.
Bug #613065
Diffstat (limited to 'lib')
-rw-r--r-- | lib/ephy-profile-migration.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/ephy-profile-migration.c b/lib/ephy-profile-migration.c index 991a21248..73584ef44 100644 --- a/lib/ephy-profile-migration.c +++ b/lib/ephy-profile-migration.c @@ -446,6 +446,8 @@ 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); + /* Store the form login and password names encoded in the * URL. A bit of an abuse of keyring, but oh well */ soup_uri_set_query_from_fields (uri, |