Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork9.7k
[HttpFoundation] Fixed default user-agent (3.X -> 4.X)#25392
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to ourterms of service andprivacy statement. We’ll occasionally send you account related emails.
Already on GitHub?Sign in to your account
Uh oh!
There was an error while loading.Please reload this page.
Conversation
lyrixx commentedDec 8, 2017
| 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 |
| 'SERVER_PORT' =>80, | ||
| 'HTTP_HOST' =>'localhost', | ||
| 'HTTP_USER_AGENT' =>'Symfony/3.X', | ||
| 'HTTP_USER_AGENT' =>'Symfony/4.X', |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others.Learn more.
...and the usual question when we do changes like this: can we remove the version number? would it make sense to do that? is it valid as a User Agent string?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others.Learn more.
👍 for removing the version
nicolas-grekas commentedDec 8, 2017
Why remove the version number? |
lyrixx commentedDec 8, 2017
Actually I really don't care. I removed it as@javiereguiluz suggested it in order to ease maintenance. |
fabpot left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others.Learn more.
Removing the version seems the right thing to do.
nicolas-grekas commentedDec 8, 2017
Thank you@lyrixx. |
…rixx)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)