mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 12:05:37 +00:00
0077e25352
Director::test() don't set the HTTP_HOST with the port number if that has been set. Later call to Director::makeRelative() will return wrong value because of the strict string matching (http://localhost/ != http://localhost:8000) This bug affects all modules that are using Director::test in CLI where the $_FILE_TO_URL_MAPPING have been set to use a domain with a port in it, i.e. static publishers.