|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #55310 http_build_url query join fails when arg_separator.output is not an html entity
Submitted: 2011-07-28 17:53 UTC Modified: 2011-07-28 18:12 UTC
From: jrbeaure at uvm dot edu Assigned:
Status: Closed Package: HTTP related
PHP Version: 5.3.6 OS: irrelevant
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: jrbeaure at uvm dot edu
New email:
PHP Version: OS:


 [2011-07-28 17:53 UTC] jrbeaure at uvm dot edu
When using the flag HTTP_URL_JOIN_QUERY, the function http_build_url fails issuing a warning when there is more than one query argument to join and the php.ini directive arg_separator.output is not in the format of an html entity.

Test script:
$result = http_build_url(
    array('query' => 'c=d'),
Expected Result:
Actual Result: <?php echo $result; ?>

Expected result:
Expected Result:
Actual Result:

Actual result:
Expected Result:
Actual Result:


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2011-07-28 18:12 UTC] jrbeaure at uvm dot edu
-Status: Open +Status: Closed
 [2011-07-28 18:12 UTC] jrbeaure at uvm dot edu
Nevermind, it was unexpected behavior from a __set magic function.
PHP Copyright © 2001-2020 The PHP Group
All rights reserved.
Last updated: Tue Sep 29 21:01:24 2020 UTC