Core-PHP icon indicating copy to clipboard operation
Core-PHP copied to clipboard

Refactor getRequestURI()

Open seporaitis opened this issue 13 years ago • 0 comments

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.

seporaitis avatar Oct 24 '12 16:10 seporaitis