Closed POPSuL closed 5 years ago
Too many frameworks used $_SERVER['REQUEST_URI'] variable to determine requested uri (at least symfony and symfony-based FWs). I though that code https://github.com/spiral/roadrunner/blob/master/src/PSR7Client.php#L137 should contains something like that:
$_SERVER['REQUEST_URI']
$server['REQUEST_URI'] = $rawRequest['ctx']['uri'];
Feel free to submit PR. We are expecting your code to rely on PSR-7 Uri, but I see the value of adding such fallback.
Added in upcoming version.
Too many frameworks used
$_SERVER['REQUEST_URI']
variable to determine requested uri (at least symfony and symfony-based FWs). I though that code https://github.com/spiral/roadrunner/blob/master/src/PSR7Client.php#L137 should contains something like that: