From 37c6494c6ab1b015dc3d27373200d38b44c5da29 Mon Sep 17 00:00:00 2001
From: mattab <matthieu.aubry@gmail.com>
Date: Tue, 16 Apr 2013 14:44:07 +1200
Subject: [PATCH] Fixes #2019 thanks for the report, fixing the regression

---
 misc/proxy-hide-piwik-url/piwik.php | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/misc/proxy-hide-piwik-url/piwik.php b/misc/proxy-hide-piwik-url/piwik.php
index eabac8c097..7ce18e28df 100644
--- a/misc/proxy-hide-piwik-url/piwik.php
+++ b/misc/proxy-hide-piwik-url/piwik.php
@@ -66,7 +66,7 @@ foreach ($_GET as $key => $value) {
 header("Content-Type: image/gif");
 $stream_options = array('http' => array(
     'user_agent' => @$_SERVER['HTTP_USER_AGENT'],
-    'header'     => sprintf("Accept-Language: %s%s\r\n", @str_replace(array("\n", "\t", "\r"), "", $_SERVER['HTTP_ACCEPT_LANGUAGE'])),
+    'header'     => sprintf("Accept-Language: %s\r\n", @str_replace(array("\n", "\t", "\r"), "", $_SERVER['HTTP_ACCEPT_LANGUAGE'])),
     'timeout'    => $timeout
 ));
 $ctx = stream_context_create($stream_options);
-- 
GitLab