[epiphany] ephy-form-auth-data: remove query section from URIs



commit 61ae374aa94759a98b7b6f22909207269ea57486
Author: Xan Lopez <xan igalia com>
Date:   Tue Mar 12 19:57:59 2013 +0100

    ephy-form-auth-data: remove query section from URIs
    
    We do not want the query to be relevant when loading/storing auth
    data.
    
    Patch by Carlos GarcĂ­a Campos <cgarcia igalia com>

 lib/ephy-form-auth-data.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/lib/ephy-form-auth-data.c b/lib/ephy-form-auth-data.c
index ea05802..ecdc50d 100644
--- a/lib/ephy-form-auth-data.c
+++ b/lib/ephy-form-auth-data.c
@@ -54,6 +54,7 @@ normalize_and_prepare_uri (SoupURI *uri)
   if (uri->scheme == SOUP_URI_SCHEME_HTTPS)
     soup_uri_set_scheme (uri, SOUP_URI_SCHEME_HTTP);
 
+  soup_uri_set_query (uri, NULL);
   soup_uri_set_path (uri, "/");
 }
 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]