[epiphany] e-embed-prefs: remove spaces in Accept-Language



commit 7e764ea74f16e8294d5c412bbc0a8128e85e62fb
Author: Diego Escalante Urrelo <diegoe igalia com>
Date:   Fri Dec 14 08:32:26 2012 -0500

    e-embed-prefs: remove spaces in Accept-Language
    
    Some servers, like Babel, do not correctly sanitize the string in this
    header. They expect strings without spaces, even though the RFC includes
    them.
    
    Chrome and Firefox do not use spaces, presumably because many more
    websites break when using them.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=671652

 embed/ephy-embed-prefs.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/embed/ephy-embed-prefs.c b/embed/ephy-embed-prefs.c
index efcf20c..ce5e8e9 100644
--- a/embed/ephy-embed-prefs.c
+++ b/embed/ephy-embed-prefs.c
@@ -369,7 +369,7 @@ build_accept_languages_header (GArray *languages)
 
   /* Get the result string */
   if (languages->len > 0)
-    langs_str = g_strjoinv (", ", langs);
+    langs_str = g_strjoinv (",", langs);
 
   return langs_str;
 }



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