Bug #55072 [Opn->Csd]: In-built web server needs to check -t option is a directory
| From: | dsp@php.net | Date: | Wed, 29 Jun 2011 23:45:51 +0000 |
| Subject: | Bug #55072 [Opn->Csd]: In-built web server needs to check -t option is a directory | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-161419@lists.php.net to get a copy of this message | ||
Edit report at https://bugs.php.net/bug.php?id=55072&edit=1
ID: 55072
Updated by: dsp@php.net
Reported by: sixd@php.net
Summary: In-built web server needs to check -t option is a
directory
-Status: Open
+Status: Closed
Type: Bug
Package: Built-in web server
Operating System: Linux
PHP Version: 5.4SVN-2011-06-29 (SVN)
-Assigned To:
+Assigned To: dsp
Block user comment: N
Private report: N
New Comment:
This bug has been fixed in SVN.
Snapshots of the sources are packaged every three hours; this change
will be in the next snapshot. You can grab the snapshot at
http://snaps.php.net/.
Thank you for the report, and for helping us make PHP better.
fixed in r312643
http://svn.php.net/viewvc?view=revision&revision=312643
Previous Comments:
------------------------------------------------------------------------
[2011-06-29 17:15:42] sixd@php.net
Description:
------------
The PHP 5.4 in-built webserver needs validate that the -t argument is a
directory.
Test script:
---------------
$ php54 -n -S localhost:8000 -t routing.php
Expected result:
----------------
$ php54 -n -S localhost:8000 -t routing.php
"routing.php is not a directory."
(or a better phrased error message)
Actual result:
--------------
$ php54 -n -S localhost:8000 -t routing.php
Server is listening on localhost:8000 in routing.php ... Press CTRL-C to quit.
------------------------------------------------------------------------
--
Edit this bug report at https://bugs.php.net/bug.php?id=55072&edit=1