Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit e16caff

Browse filesBrowse files
bug #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 | #25390 | License | MIT | Doc PR | Commits ------- ac007e1 [HttpFoundation] Fixed default user-agent (3.X -> 4.X)
2 parents 0002c9b + ac007e1 commit e16caff
Copy full SHA for e16caff

File tree

1 file changed

+1
-1
lines changed
Filter options

1 file changed

+1
-1
lines changed

‎src/Symfony/Component/HttpFoundation/Request.php

Copy file name to clipboardExpand all lines: src/Symfony/Component/HttpFoundation/Request.php
+1-1Lines 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 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.