diff options
author | mattab <matthieu.aubry@gmail.com> | 2013-04-16 06:44:07 +0400 |
---|---|---|
committer | mattab <matthieu.aubry@gmail.com> | 2013-04-16 06:44:07 +0400 |
commit | 37c6494c6ab1b015dc3d27373200d38b44c5da29 (patch) | |
tree | 1677c07c51208384e6832d2205e7a56bfea672ec /misc | |
parent | 71bb678a4308a50a2e29b6f6a936f58196e989dc (diff) |
Fixes #2019 thanks for the report, fixing the regression
Diffstat (limited to 'misc')
-rw-r--r-- | misc/proxy-hide-piwik-url/piwik.php | 2 |
1 files changed, 1 insertions, 1 deletions
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); |