kohana/core — pull request #169 by Girt (2011-10-27 11:43:29+00:00)
Title: Change $_SERVER['REQUEST_URI'] to $_SERVER['DOCUMENT_URI'] in detect_uri(

Change $_SERVER['REQUEST_URI'] to $_SERVER['DOCUMENT_URI'] in detect_uri() function.
It is for SSI.
REQUEST_URI at SSI does not change and DOCUMENT_URI shows the real URI for subrequest