|  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 (profile)
Status: Closed Package: URL related
PHP Version: 5.1.0b3 OS: linux
Private report: No CVE-ID: None
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
Block user comment
Status: Assign to:
Bug Type:
From: php at benjamin dot schulz dot name
New email:
PHP Version: OS:


 [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-2024 The PHP Group
All rights reserved.
Last updated: Sun Apr 21 05:01:29 2024 UTC