-
-
Notifications
You must be signed in to change notification settings - Fork 9.6k
[HttpFoundation] Fix for virtualhosts based on URL path #38614
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
[HttpFoundation] Fix for virtualhosts based on URL path #38614
Conversation
debd6b6
to
02b65f3
Compare
10a3fb3
to
2515016
Compare
2515016
to
7ebf3c8
Compare
7ebf3c8
to
8cf2489
Compare
This one should be rebased on 4.4 before merging. |
8cf2489
to
75ff868
Compare
(now rebased for 4.4) |
Thank you @mvorisek. |
This PR is a BC for us, I thought it was related to Symfony 5.2 upgrade but after digging, it was introduced in patch version, Symfony 5.1.9. If you rewrite URL like For example if you have |
Thanks for the notice @BafS |
…ressions (BafS) This PR was merged into the 4.4 branch. Discussion ---------- [HttpFoundation] Revert #38614 and add assert to avoid regressions | Q | A | ------------- | --- | Branch? | 4.4 | Bug fix? | yes | New feature? | no | Deprecations? | no | Tickets | Fix #39882 | License | MIT #38614 introduced a BC, this PR revert the PR, update tests and add an assert to avoid regressions. Commits ------- 3058cd0 Revert #38614, add assert to avoid regression
* 4.4: [HttpFoundation] Drop int return type from parseFilesize() Added $translator->addLoader() bug #39878 [doctrine-bridge] Add username to UserNameNotFoundException fix spelling Add check for constant in Curl client Revert #38614, add assert to avoid regression Fix problem when SYMFONY_PHPUNIT_VERSION is empty string value Update PHP CS Fixer config to v2.18
* 5.1: [HttpFoundation] Drop int return type from parseFilesize() Added $translator->addLoader() bug #39878 [doctrine-bridge] Add username to UserNameNotFoundException [Uid] Clarify the format returned by getTime() fix spelling Add check for constant in Curl client Revert #38614, add assert to avoid regression Fix container injection with TypedReference Fix problem when SYMFONY_PHPUNIT_VERSION is empty string value Update PHP CS Fixer config to v2.18
* 5.2: [HttpFoundation] Drop int return type from parseFilesize() Added $translator->addLoader() bug #39878 [doctrine-bridge] Add username to UserNameNotFoundException [Uid] Clarify the format returned by getTime() fix spelling Add check for constant in Curl client Revert #38614, add assert to avoid regression Fix container injection with TypedReference Fix problem when SYMFONY_PHPUNIT_VERSION is empty string value Update PHP CS Fixer config to v2.18
This PR fixes base URL detection when:
fix covered with tests