classes /router.php
line 180
// strip base path from request url
$requestUrl = substr($requestUrl, strlen($this->basePath));
if( substr($requestUrl, -1) === "/" ){
$requestUrl = substr($requestUrl, 0, -1);
}
// Strip query string (?a=b) from Request Url