Bug #62350 [Opn->Nab]: $HTTP_SERVER_CGI
| From: | johannes@php.net | Date: | Mon, 18 Jun 2012 23:06:25 +0000 |
| Subject: | Bug #62350 [Opn->Nab]: $HTTP_SERVER_CGI | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-171359@lists.php.net to get a copy of this message | ||
Edit report at https://bugs.php.net/bug.php?id=62350&edit=1
ID: 62350
Updated by: johannes@php.net
Reported by: postmaster at angosso dot net
Summary: $HTTP_SERVER_CGI
-Status: Open
+Status: Not a bug
Type: Bug
Package: Output Control
Operating System: index.php
PHP Version: 5.3.14
Block user comment: N
Private report: N
New Comment:
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 http://www.php.net/support.php 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.
.
Previous Comments:
------------------------------------------------------------------------
[2012-06-18 21:28:18] mail+php at requinix dot net
How to submit a bug report:
https://bugs.php.net/how-to-report.php
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 12:26:14] postmaster at angosso dot net
Description:
------------
<?php
echo http_build_url("http://user@www.example.com/pub/index.php?a=b#files",
array(
"scheme" => "ftp",
"host" => "ftp.angosso.net",
"path" => "files/web.config/angosso2",
"query" => "a=b"
),
HTTP_URL_STRIP_AUTH | HTTP_URL_JOIN_PATH | HTTP_URL_JOIN_QUERY | HTTP_URL_STRIP_FRAGMENT
);
?>
Test script:
---------------
<?php
echo http_build_url("http://angosso2@www.angosso.net/pub/index.php?a=b#files",
array(
"scheme" => "ftp",
"host" => "ftp.angosso.net",
"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;
}
HTTP_URL_STRIP_AUTH | HTTP_URL_JOIN_PATH | HTTP_URL_JOIN_QUERY | HTTP_URL_STRIP_FRAGMENT
);
?>
Expected result:
----------------
[http://www.angosso.net/pub/home/index.php?=a,arg1,arg2]
Actual result:
--------------
HTTP Error 404.0 - Not Found
Detailed Error Information
Module IIS Web Core
Notification MapRequestHandler
Handler StaticFile
Error Code 0x80070002
Requested URL http://angosso.net:80/angosso2
Physical Path E:\web\angosso2\angosso2
Logon Method Anonymous
Logon User Anonymous
------------------------------------------------------------------------
--
Edit this bug report at https://bugs.php.net/bug.php?id=62350&edit=1