Closed real420og closed 2 years ago
Hi!
As RoadRunner resets $_SERVER
with the current request data, third party library should behave correctly.
REQUEST_URI which is generated in https://github.com/Baldinof/roadrunner-bundle/blob/2.x/src/RoadRunnerBridge/HttpFoundationWorker.php#L111
currently not available in $_SERVER
Sorry for the late response, this is now fixed in 2.2.0.
Thanks for the report :)
Some projects (on symfony + roadrunner-bundle) depends on a third party library in which the $_SERVER['REQUEST_URI'] is called.
In the https://github.com/spiral/roadrunner-http/blob/master/src/PSR7Worker.php#L98 i saw the override of the $_SERVER by the result of the method
I see the value of this approach, but there are risks I might overlook. What do you think about it?