mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 14:05:37 +02:00
8063b349c8
Example: you have a site in a sub-directory off the webroot, you call ->Link() on a SiteTree record, which returns "/[sitedir]/my-page", and you pass this URL to Director::test(). It's a valid URL, but Director::test() will throw a 404. Director::test() should be ensuring that all URLs passed to it are properly made relative, not just in the case where it thinks the URL is absolute. |
||
---|---|---|
.. | ||
injector | ||
ContentNegotiator.php | ||
Controller.php | ||
Cookie.php | ||
Director.php | ||
FlushRequestFilter.php | ||
HTTP.php | ||
HTTPRequest.php | ||
HTTPResponse.php | ||
NullHTTPRequest.php | ||
PjaxResponseNegotiator.php | ||
RequestFilter.php | ||
RequestHandler.php | ||
RequestProcessor.php | ||
Session.php | ||
VersionedRequestFilter.php |