Open seporaitis opened 11 years ago
Refactor getRequestURI() method in https://github.com/Graphity/graphity-core/blob/master/src/main/php/Graphity/Request.php
getRequestURI()
The logic in that method contains a bug. $_SERVER['REQUEST_URI'] in PHP has path & query segments, but not SERVER_NAME.
$_SERVER['REQUEST_URI']
SERVER_NAME
Refactor
getRequestURI()
method in https://github.com/Graphity/graphity-core/blob/master/src/main/php/Graphity/Request.phpThe logic in that method contains a bug.
$_SERVER['REQUEST_URI']
in PHP has path & query segments, but notSERVER_NAME
.