From: postmaster at angosso dot net
Operating system: index.php
PHP version: 5.3.14
Package: Output Control
Bug Type: Bug
Bug description:$HTTP_SERVER_CGI
Description:
------------
<?php
echo http_build_url("http://[email protected]/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://[email protected]/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 bug report at https://bugs.php.net/bug.php?id=62350&edit=1
--
Try a snapshot (PHP 5.4):
https://bugs.php.net/fix.php?id=62350&r=trysnapshot54
Try a snapshot (PHP 5.3):
https://bugs.php.net/fix.php?id=62350&r=trysnapshot53
Try a snapshot (trunk):
https://bugs.php.net/fix.php?id=62350&r=trysnapshottrunk
Fixed in SVN:
https://bugs.php.net/fix.php?id=62350&r=fixed
Fixed in SVN and need be documented:
https://bugs.php.net/fix.php?id=62350&r=needdocs
Fixed in release:
https://bugs.php.net/fix.php?id=62350&r=alreadyfixed
Need backtrace:
https://bugs.php.net/fix.php?id=62350&r=needtrace
Need Reproduce Script:
https://bugs.php.net/fix.php?id=62350&r=needscript
Try newer version:
https://bugs.php.net/fix.php?id=62350&r=oldversion
Not developer issue:
https://bugs.php.net/fix.php?id=62350&r=support
Expected behavior:
https://bugs.php.net/fix.php?id=62350&r=notwrong
Not enough info:
https://bugs.php.net/fix.php?id=62350&r=notenoughinfo
Submitted twice:
https://bugs.php.net/fix.php?id=62350&r=submittedtwice
register_globals:
https://bugs.php.net/fix.php?id=62350&r=globals
PHP 4 support discontinued:
https://bugs.php.net/fix.php?id=62350&r=php4
Daylight Savings: https://bugs.php.net/fix.php?id=62350&r=dst
IIS Stability:
https://bugs.php.net/fix.php?id=62350&r=isapi
Install GNU Sed:
https://bugs.php.net/fix.php?id=62350&r=gnused
Floating point limitations:
https://bugs.php.net/fix.php?id=62350&r=float
No Zend Extensions:
https://bugs.php.net/fix.php?id=62350&r=nozend
MySQL Configuration Error:
https://bugs.php.net/fix.php?id=62350&r=mysqlcfg