-
Notifications
You must be signed in to change notification settings - Fork 203
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
EZP-31519: Move app.php rejection snippet from front controller to ezpublish-kernel #3010
Conversation
eZ/Bundle/EzPublishCoreBundle/EventListener/RejectExplicitFrontControllerRequestsListener.php
Outdated
Show resolved
Hide resolved
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.
Many requests that are supposed to be working are broken for me with this code.
When I access:
http://example.com
http://example.com/ez
I'm getting 404 instead of the page I'd like to see.
Looks like the $scriptFileName
has following values:
example.com => empty string (browser displays 404)
example.com/ez => ez (browser displays 404)
example.com/TestFolder1 => TestFolder1(this displays the Content Item in the browser)
example.com/TestFolder1/ => TestFolder1 (browser displays 404)
…estsListener::onKernelRequest for PHP 5.6 compatibility
600b038
to
c3e632d
Compare
@mnocon Ready for retesting |
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.
Retested with Apache, nginx and platform.sh, looks good now!
@webhdx could you merge it up to 7.5 and ezplatform-kernel/master |
6.13
TODO:
$ composer fix-cs
).