ID:               20420
 Updated by:       [EMAIL PROTECTED]
 Reported By:      [EMAIL PROTECTED]
 Status:           Closed
 Bug Type:         URL related
 Operating System: Linux
 PHP Version:      4.3.0-pre2
 Assigned To:      ilia
 New Comment:

already fixed.


Previous Comments:
------------------------------------------------------------------------

[2002-12-31 12:17:27] [EMAIL PROTECTED]

r_1.53 (2 months, 3 weeks ago) which rewrote the php_url_parse function
changed the bahavior (from 'path' to 'host')

r_1.61 (25 hours, 32 minutes ago) seems to have completely broken the
file:// scheme.  file://path/to/file works (albiet with host and not
path) but the technically correct style "file:///path/to/file" fails.

Both issues need to be addressed.

------------------------------------------------------------------------

[2002-12-31 03:00:39] [EMAIL PROTECTED]

The aforementioned was found in PHP 4.3.0, production, on an RH 6.2
Linux box.

------------------------------------------------------------------------

[2002-12-31 02:59:09] [EMAIL PROTECTED]

As a result of this bug, has the function been changed to now parse
file:///path/to/file as:

Array(2) (

   ["scheme"] => 'file'
   ["host"] => '/path/to/file'

)

That seems incorrect, as it use to:

Array(2) (

   ["scheme"] => 'file'
   ["path"] => '/path/to/file'
)

Which is correct, and how the function use to behave. If anything, the
["host"] should state "localhost". Needless to say, this should be now
documented in the function manual if this is going to be the way it
works.

------------------------------------------------------------------------

[2002-11-14 07:46:28] [EMAIL PROTECTED]

This bug has been fixed in CVS.

In case this was a PHP problem, 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/.
 
In case this was a documentation problem, the fix will show up soon at
http://www.php.net/manual/.

In case this was a PHP.net website problem, the change will show
up on the PHP.net site and on the mirror sites in short time.
 
Thank you for the report, and for helping us make PHP better.



------------------------------------------------------------------------

[2002-11-14 03:13:06] [EMAIL PROTECTED]

Assinging to Ilia

------------------------------------------------------------------------

The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at
    http://bugs.php.net/20420

-- 
Edit this bug report at http://bugs.php.net/?id=20420&edit=1

Reply via email to