ID:               34148
 Updated by:       [EMAIL PROTECTED]
 Reported By:      php at benjamin dot schulz dot name
-Status:           Bogus
+Status:           Closed
 Bug Type:         URL related
 Operating System: linux
 PHP Version:      5.1.0b3
 Assigned To:      ilia
 New Comment:

This bug has been fixed in CVS.

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.




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

[2005-08-16 15:25:48] [EMAIL PROTECTED]

Thank you for taking the time to write to us, but this is not
a bug. Please double-check the documentation available at
http://www.php.net/manual/ and the instructions on how to report
a bug at http://bugs.php.net/how-to-report.php

The given URL is clearly invalid, the scheme cannot contain + in it.

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

[2005-08-16 10:59:33] [EMAIL PROTECTED]

This commit 
http://cvs.php.net/diff.php/php-src/ext/standard/url.c?r1=1.85&r2=1.84&ty=u

broke it, can you look into it, ilia? 

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

[2005-08-16 10:55:45] php at benjamin dot schulz dot name

wrong summary

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

[2005-08-16 10:52:03] php at benjamin dot schulz dot name

Description:
------------
parse_url doesn't support "special" characters like + or . in the
scheme name anymore

Reproduce code:
---------------
<?php
// works
var_dump(parse_url("foobar://[EMAIL PROTECTED]/bla"))
// doesn't work at all
var_dump(parse_url("foo+bar://[EMAIL PROTECTED]/bla"));'
?>

Expected result:
----------------
array(4) {
  ["scheme"]=>
  string(6) "foo+bar"
  ["host"]=>
  string(4) "bang"
  ["user"]=>
  string(3) "baz"
  ["path"]=>
  string(4) "/bla"
}


Actual result:
--------------
array(2) {
  ["host"]=>
  string(7) "foo+bar"
  ["path"]=>
  string(14) "//[EMAIL PROTECTED]/bla"
}



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


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

Reply via email to