From 7e764ea74f16e8294d5c412bbc0a8128e85e62fb Mon Sep 17 00:00:00 2001 From: Diego Escalante Urrelo Date: Fri, 14 Dec 2012 08:32:26 -0500 Subject: 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 file changed, 1 insertion(+), 1 deletion(-) (limited to 'embed/ephy-embed-prefs.c') diff --git a/embed/ephy-embed-prefs.c b/embed/ephy-embed-prefs.c index efcf20cc4..ce5e8e90f 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; } -- cgit v1.2.3