8000 Adding x-forwarded-port causes application to crash · Issue #28153 · symfony/symfony · GitHub
[go: up one dir, main page]

Skip to content

Adding x-forwarded-port causes application to crash #28153

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

Closed
tomas7777 opened this issue Aug 7, 2018 · 1 comment
Closed

Adding x-forwarded-port causes application to crash #28153

tomas7777 opened this issue Aug 7, 2018 · 1 comment

Comments

@tomas7777
Copy link

Symfony version(s) affected: 2.8.44

Description
After updating an application to 2.8.44 and initially setting x-forwarded-port header and then making request which will be making sub request \Symfony\Component\HttpFoundation\Exception\ConflictingHeadersException is being triggered which causes application to crash. This didn't happen prior to 2.8.44 release.

How to reproduce
Add x-forwarded-port header and make request which will be making sub requests.

@xabbuh
Copy link
Member
xabbuh commented Aug 7, 2018

This will probably be fixed with #28144.

nicolas-grekas added a commit that referenced this issue Aug 8, 2018
…ption (nicolas-grekas)

This PR was merged into the 2.8 branch.

Discussion
----------

[HttpFoundation] fix false-positive ConflictingHeadersException

| Q             | A
| ------------- | ---
| Branch?       | 2.8
| Bug fix?      | yes
| New feature?  | no
| BC breaks?    | no
| Deprecations? | no
| Tests pass?   | yes
| Fixed tickets | #28153
| License       | MIT
| Doc PR        | -

Fixes https://jira.ez.no/browse/EZP-29492 & https://jira.ez.no/browse/EZP-29497
Ping @andrerom

Commits
-------

6089290 [HttpFoundation] fix false-positive ConflictingHeadersException
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants
0