aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDiego Escalante Urrelo <diegoe@igalia.com>2012-12-14 21:32:26 +0800
committerDiego Escalante Urrelo <diegoe@gnome.org>2013-01-05 04:40:48 +0800
commit7e764ea74f16e8294d5c412bbc0a8128e85e62fb (patch)
tree9ca6400808e01117e7983ff62d01cd76603717ec
parent997b046b63c66566561402cfafc6d0a25322a02b (diff)
downloadgsoc2013-epiphany-7e764ea74f16e8294d5c412bbc0a8128e85e62fb.tar
gsoc2013-epiphany-7e764ea74f16e8294d5c412bbc0a8128e85e62fb.tar.gz
gsoc2013-epiphany-7e764ea74f16e8294d5c412bbc0a8128e85e62fb.tar.bz2
gsoc2013-epiphany-7e764ea74f16e8294d5c412bbc0a8128e85e62fb.tar.lz
gsoc2013-epiphany-7e764ea74f16e8294d5c412bbc0a8128e85e62fb.tar.xz
gsoc2013-epiphany-7e764ea74f16e8294d5c412bbc0a8128e85e62fb.tar.zst
gsoc2013-epiphany-7e764ea74f16e8294d5c412bbc0a8128e85e62fb.zip
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
-rw-r--r--embed/ephy-embed-prefs.c2
1 files changed, 1 insertions, 1 deletions
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;
}