Skip to content

Commit

Permalink
[HttpFoundation] Fixed Request HTTP_USER_AGENT on 3.X versions
Browse files Browse the repository at this point in the history
  • Loading branch information
davelima committed Jan 12, 2016
1 parent 8b6503d commit 1ccc15d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Symfony/Component/HttpFoundation/Request.php
Expand Up @@ -311,7 +311,7 @@ public static function create($uri, $method = 'GET', $parameters = array(), $coo
'SERVER_NAME' => 'localhost',
'SERVER_PORT' => 80,
'HTTP_HOST' => 'localhost',
'HTTP_USER_AGENT' => 'Symfony/2.X',
'HTTP_USER_AGENT' => 'Symfony/3.X',
'HTTP_ACCEPT' => 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8',
'HTTP_ACCEPT_LANGUAGE' => 'en-us,en;q=0.5',
'HTTP_ACCEPT_CHARSET' => 'ISO-8859-1,utf-8;q=0.7,*;q=0.7',
Expand Down

0 comments on commit 1ccc15d

Please sign in to comment.