note 115907 added to features.commandline.webserver
| From: | tamas at bartatamas dot hu | Date: | Mon, 13 Oct 2014 14:19:39 +0000 |
| Subject: | note 115907 added to features.commandline.webserver | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-200635@lists.php.net to get a copy of this message | ||
If your URI contains a dot, you'll lose the $_SERVER['PATH_INFO'] variable, when
using the built-in webserver.
I wanted to write an API, and use .json ending in the URI-s, but then the framework's routing
mechanism broke, and it took a lot of time to discover that the reason behind it was its router
relying on $_SERVER['PATH_INFO'].
References:
https://bugs.php.net/bug.php?id=61286
----
Server IP: 72.52.91.14
Probable Submitter: 192.81.221.220
----
Manual Page -- http://php.net/manual/en/features.commandline.webserver.php
Edit -- https://master.php.net/note/edit/115907
Del: integrated -- https://master.php.net/note/delete/115907/integrated
Del: useless -- https://master.php.net/note/delete/115907/useless
Del: bad code -- https://master.php.net/note/delete/115907/bad+code
Del: spam -- https://master.php.net/note/delete/115907/spam
Del: non-english -- https://master.php.net/note/delete/115907/non-english
Del: in docs -- https://master.php.net/note/delete/115907/in+docs
Del: other reasons-- https://master.php.net/note/delete/115907
Reject -- https://master.php.net/note/reject/115907
Search -- https://master.php.net/manage/user-notes.php