Edit report at https://bugs.php.net/bug.php?id=55072&edit=1

 ID:                 55072
 Updated by:         d...@php.net
 Reported by:        s...@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] s...@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

Reply via email to