|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Submitted: 2012-06-18 12:26 UTC Modified: 2012-06-18 23:06 UTC
Avg. Score:4.0 ± 1.0
Reproduced:0 of 0 (0.0%)
From: postmaster at angosso dot net Assigned:
Status: Not a bug Package: Output Control
PHP Version: 5.3.14 OS: index.php
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: postmaster at angosso dot net
New email:
PHP Version: OS:


 [2012-06-18 12:26 UTC] postmaster at angosso dot net
echo http_build_url("",
                 "scheme" => "ftp",
                 "host" => "",
                 "path" => "files/web.config/angosso2",
                  "query" => "a=b"

Test script:
echo http_build_url("",
                 "scheme" => "ftp",
                 "host" => "",
                 "path" => "files/web.config/angosso2",
                  "query" => "a=b"

$res = preg_match("/username=\"([^\"]+)\"/i", $txt, $match);
$data['username'] = $match[1];
$res = preg_match('/nonce=\"([^\"]+)\"/i', $txt, $match);
$data['nonce'] = $match[1];
$res = preg_match('/nc=([0-9]+)/i', $txt, $match);
$data['nc'] = $match[1];
$res = preg_match('/cnonce=\"([^\"]+)\"/i', $txt, $match);
$data['cnonce'] = $match[1];
$res = preg_match('/qop=([^,]+)/i', $txt, $match);
$data['qop'] = $match[1];
$res = preg_match('/uri=\"([^\"]+)\"/i', $txt, $match);
$data['uri'] = $match[1];
$res = preg_match('/response=\"([^\"]+)\"/i', $txt, $match);
$data['response'] = $match[1];

//return $needed_parts ? false : $data;
return $data;


Expected result:

Actual result:
HTTP Error 404.0 - Not Found
Detailed Error Information
Module	IIS Web Core
Notification	MapRequestHandler
Handler	StaticFile
Error Code	0x80070002
Requested URL
Physical Path	E:\web\angosso2\angosso2
Logon Method	Anonymous
Logon User	Anonymous


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2012-06-18 21:28 UTC] mail+php at requinix dot net
How to submit a bug report:

1. Title seems irrelevant.
2. Package seems wrong.
3. Description doesn't actually include a description.
4. Description is just a cut-and-paste from the man page on http_build_url.
5. Test script is very incomplete (not to mention the syntax problems).
6. Expected result is... I can't even tell why that's the expected result.
7. Actual result indicates some completely different problem.
 [2012-06-18 23:06 UTC]
-Status: Open +Status: Not a bug
 [2012-06-18 23:06 UTC]
Sorry, but your problem does not imply a bug in PHP itself.  For a
list of more appropriate places to ask for help using PHP, please
visit as this bug system is not the
appropriate forum for asking support questions.  Due to the volume
of reports we can not explain in detail here why your report is not
a bug.  The support channels will be able to provide an explanation
for you.

Thank you for your interest in PHP.

PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Mon May 27 23:01:30 2024 UTC