Skip to content
Extraits de code Groupes Projets
Valider 37c6494c rédigé par mattab's avatar mattab
Parcourir les fichiers

Fixes #2019 thanks for the report, fixing the regression

parent 71bb678a
Aucune branche associée trouvée
Aucune étiquette associée trouvée
Aucune requête de fusion associée trouvée
...@@ -66,7 +66,7 @@ foreach ($_GET as $key => $value) { ...@@ -66,7 +66,7 @@ foreach ($_GET as $key => $value) {
header("Content-Type: image/gif"); header("Content-Type: image/gif");
$stream_options = array('http' => array( $stream_options = array('http' => array(
'user_agent' => @$_SERVER['HTTP_USER_AGENT'], '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 'timeout' => $timeout
)); ));
$ctx = stream_context_create($stream_options); $ctx = stream_context_create($stream_options);
......
0% Chargement en cours ou .
You are about to add 0 people to the discussion. Proceed with caution.
Veuillez vous inscrire ou vous pour commenter