-
-
Notifications
You must be signed in to change notification settings - Fork 9.6k
[HttpKernel] Turn bad hosts into 400 instead of 500 #25750
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 our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
nicolas-grekas
commented
Jan 10, 2018
Q | A |
---|---|
Branch? | 2.7 |
Bug fix? | yes |
New feature? | no |
BC breaks? | no |
Deprecations? | no |
Tests pass? | yes |
Fixed tickets | - |
License | MIT |
Doc PR | - |
Definitely makes sense 👍 |
Thank you @nicolas-grekas. |
…as-grekas) This PR was merged into the 2.7 branch. Discussion ---------- [HttpKernel] Turn bad hosts into 400 instead of 500 | Q | A | ------------- | --- | Branch? | 2.7 | Bug fix? | yes | New feature? | no | BC breaks? | no | Deprecations? | no | Tests pass? | yes | Fixed tickets | - | License | MIT | Doc PR | - Commits ------- 3e47c71 [HttpKernel] Turn bad hosts into 400 instead of 500
/** | ||
* @expectedException \Symfony\Component\HttpKernel\Exception\BadRequestHttpException | ||
*/ | ||
public function testSubRequestWithBadHost() |
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.
It's not about sub request. But master request
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.
"Sub" removed, thanks
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.
oups, it's already merged :) PR welcome then :P
This PR was merged into the 2.7 branch. Discussion ---------- [HttpKernel] Fixed test name | Q | A | ------------- | --- | Branch? | 2.7 | Bug fix? | no | New feature? | no | BC breaks? | no | Deprecations? | no | Tests pass? | yes | Fixed tickets | #25750 (comment) | License | MIT | Doc PR | Commits ------- e366772 [HttpKernel] Fixed test name