Movatterモバイル変換


[0]ホーム

URL:


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

Sign up
Appearance settings

[HttpFoundation] Fix base URI detection on IIS with UrlRewriteModule#51424

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

Merged

Conversation

@derrabus
Copy link
Member

@derrabusderrabus commentedAug 18, 2023
edited
Loading

QA
Branch?5.4
Bug fix?yes
New feature?no
Deprecations?no
TicketsWorkaround forphp/php-src#11981
LicenseMIT
Doc PRN/A

See the linked PHP issue for details on the issue I'm working around.

If I setup a Symfony application in a IIS virtual directory and use UrlRewriteModule to rewrite all requests to my front controller script, routing requests might fail if I spell the virtual directory with once with lowercase and afterwards with uppercase letters or vice versa.

This PR detects if we're on IIS with active URL rewriting and switches to a more fuzzy base URL detection in that case.

@carsonbotcarsonbot added this to the5.4 milestoneAug 18, 2023
@derrabusderrabusforce-pushed thebugfix/iis-rewrite-case-mismatch branch 2 times, most recently fromc83f0e2 toa10b903CompareAugust 18, 2023 11:00
@nicolas-grekas
Copy link
Member

Thank you@derrabus.

@nicolas-grekasnicolas-grekasforce-pushed thebugfix/iis-rewrite-case-mismatch branch froma10b903 to26aec0fCompareAugust 21, 2023 07:23
@nicolas-grekasnicolas-grekas merged commitf874dd2 intosymfony:5.4Aug 21, 2023
@derrabusderrabus deleted the bugfix/iis-rewrite-case-mismatch branchAugust 22, 2023 08:17
This was referencedAug 26, 2023
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment

Reviewers

No reviews

Assignees

No one assigned

Projects

None yet

Milestone

5.4

Development

Successfully merging this pull request may close these issues.

3 participants

@derrabus@nicolas-grekas@carsonbot

[8]ページ先頭

©2009-2025 Movatter.jp