-
Notifications
You must be signed in to change notification settings - Fork 611
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
[5.x, 4.x]: bootstrap/router.php can not handle umlauts #14977
Comments
Thanks for reporting that, and for the suggested fix! |
Craft 4.9.3 and 5.1.3 are out with that fix. Thanks again. |
@brandonkelly not sure if it has anything to do with this, but since this update I have multiple projects that hang after craft serve: This has been running for the past 30 minutes and not proceeded - on at least 3 projects of mine (all craft 5 latest) |
@boboldehampsink If you revert the change does it fix it? |
@brandonkelly nope it did not. I went on and reverted some other changes, and found that 81d20bb is the problem. Once I reverted that, everything started working again... |
Can you set a breakpoint in that function? How big is |
So let me make it clear it only happens in test. And testing happens to remove the whole project config (don't know why?): src/test/Craft.php is loaded as helper and does this:
|
@brandonkelly want me to create a new issue for this? |
@boboldehampsink Yes please. And can you include a stack trace that shows how |
FWIW about 81d20bb - |
@boboldehampsink Weird, that would be far from the only place we use nested transactions. Thanks for digging in and sending the PR, though! |
Craft 5.1.8 is out with that change. |
What happened?
Description
If serving files in local directory, router.php does not serve files with umlauts.
Steps to reproduce
Expected behavior
File should be served from file system
Actual behavior
File is not found in the file system
Fix (use urldecode):
Craft CMS version
4.x, 5.x
PHP version
8.3
Operating system and version
No response
Database type and version
No response
Image driver and version
No response
Installed plugins and versions
The text was updated successfully, but these errors were encountered: