Skip to content

Commit e16caff

Browse files
bug symfony#25392 [HttpFoundation] Fixed default user-agent (3.X -> 4.X) (lyrixx)
This PR was merged into the 4.0 branch. Discussion ---------- [HttpFoundation] Fixed default user-agent (3.X -> 4.X) | Q | A | ------------- | --- | Branch? | 4.0 | Bug fix? | yes | New feature? | no | BC breaks? | no | Deprecations? | no | Tests pass? | yes | Fixed tickets | symfony#25390 | License | MIT | Doc PR | Commits ------- ac007e1 [HttpFoundation] Fixed default user-agent (3.X -> 4.X)
2 parents 0002c9b + ac007e1 commit e16caff

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Symfony/Component/HttpFoundation/Request.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -312,7 +312,7 @@ public static function create($uri, $method = 'GET', $parameters = array(), $coo
312312
'SERVER_NAME' => 'localhost',
313313
'SERVER_PORT' => 80,
314314
'HTTP_HOST' => 'localhost',
315-
'HTTP_USER_AGENT' => 'Symfony/3.X',
315+
'HTTP_USER_AGENT' => 'Symfony',
316316
'HTTP_ACCEPT' => 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8',
317317
'HTTP_ACCEPT_LANGUAGE' => 'en-us,en;q=0.5',
318318
'HTTP_ACCEPT_CHARSET' => 'ISO-8859-1,utf-8;q=0.7,*;q=0.7',

0 commit comments

Comments
 (0)