Handle manually crafted urls with array syntax for %%%__path__%%%
Summary:
This parses the incoming request URI from $_SERVER,
similar to how the built-in PHP webserver is handled.
Fixes T16145
Test Plan: Visit http://phorge.localhost/P1?__path__=%2fP1&__path__[]=/P1 and compare with this change.
Reviewers: O1 Blessed Committers, aklapper
Reviewed By: O1 Blessed Committers, aklapper
Subscribers: aklapper, tobiaswiese, valerio.bozzolan, Matthew, Cigaryno
Maniphest Tasks: T16145
Differential Revision: https://we.phorge.it/D26132