|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #34148 parse_url() broken
Submitted: 2005-08-16 10:52 UTC Modified: 2005-08-16 16:20 UTC
From: php at benjamin dot schulz dot name Assigned: ilia
Status: Closed Package: URL related
PHP Version: 5.1.0b3 OS: linux
Private report: No CVE-ID:
 [2005-08-16 10:52 UTC] php at benjamin dot schulz dot name
parse_url doesn't support "special" characters like + or . in the scheme name anymore

Reproduce code:
// works
// doesn't work at all

Expected result:
array(4) {
  string(6) "foo+bar"
  string(4) "bang"
  string(3) "baz"
  string(4) "/bla"

Actual result:
array(2) {
  string(7) "foo+bar"
  string(14) "//baz@bang/bla"


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2005-08-16 10:59 UTC]
This commit 
broke it, can you look into it, ilia? 
 [2005-08-16 16:20 UTC]
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
Thank you for the report, and for helping us make PHP better.

PHP Copyright © 2001-2015 The PHP Group
All rights reserved.
Last updated: Sun Oct 04 15:01:30 2015 UTC