-
Notifications
You must be signed in to change notification settings - Fork 1
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
Improvement of BaseUrl-Handling including Windows-Support #2
Comments
Commit https://github.com/glady/Jentin/commit/ed900cc60ded9c38a222433e4ae21533e3156c99 adds a test case to base-url UnitTest that proves, that there is a problem with routing without baseUrl ('http://localhost/module/controller/action' says baseUrl is '/module/controller/', not '/' like expected by old behavior with trailing / or '' without it) |
Tested with a local apache instance: Request with var_dump of $_SERVER on url http://localhost:8080/module/controller/action Conclusion: FileSystem paths CAN be completely different from uri, because uri can contain routing logic. |
When I have a server running on Windows, there are some problems with determinating the baseUrl, when no base-path is requested.
Example 1:
Example 2:
The text was updated successfully, but these errors were encountered: