Edit report at https://bugs.php.net/bug.php?id=62350&edit=1
ID: 62350 Comment by: mail+php at requinix dot net Reported by: postmaster at angosso dot net Summary: $HTTP_SERVER_CGI Status: Open Type: Bug Package: Output Control Operating System: index.php PHP Version: 5.3.14 Block user comment: N Private report: N New Comment: 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. Previous Comments: ------------------------------------------------------------------------ [2012-06-18 12:26:14] postmaster at angosso dot net Description: ------------ <?php echo http_build_url("http://u...@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://angos...@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