core icon indicating copy to clipboard operation
core copied to clipboard

Please allow any values passed as url params

Open stepanzarubin opened this issue 10 years ago • 1 comments

Flight::route('GET /p/@p', function($p)...

then I am trying to pass page URI as a parameter value:

$p = urlencode($_SERVER['REQUEST_URI'])

Flight fails with: Object not found!

Regular expression also fails: Flight::route('GET /p/@p:*', function($p)...

As I noticed only simple parameters are allowed, but if you need to pass encoded url or any other complex string it fails.

Thanks.

stepanzarubin avatar Jul 07 '16 06:07 stepanzarubin

Sorry, I believe Apache is the reason but I have to make sure that any parameter will pass. And the reason mostlikely is the path format I am trying to use.

stepanzarubin avatar Jul 07 '16 06:07 stepanzarubin