Core-PHP
Core-PHP copied to clipboard
Refactor getRequestURI()
Refactor getRequestURI() method in https://github.com/Graphity/graphity-core/blob/master/src/main/php/Graphity/Request.php
The logic in that method contains a bug. $_SERVER['REQUEST_URI'] in PHP has path & query segments, but not SERVER_NAME.