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 ac007e1

Browse filesBrowse files
committed
[HttpFoundation] Fixed default user-agent (3.X -> 4.X)
1 parent 441cfb9 commit ac007e1
Copy full SHA for ac007e1

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.