#23437 [NEW]: apache_lookup_uri returns bogus information

From: Date: Thu, 01 May 2003 11:38:49 +0000
Subject: #23437 [NEW]: apache_lookup_uri returns bogus information
Groups: php.bugs 
Request: Send a blank email to php-bugs+get-38878@lists.php.net to get a copy of this message
From: nik at nikmakepeace dot com Operating system: Debian GNU/Linux (sid) PHP version: 4.3.2RC1 PHP Bug Type: Apache related Bug description: apache_lookup_uri returns bogus information With Apache 1.3.26 performing apache_lookup_uri("http://nikmakepeace.com/index.php") returns a class like this: stdClass Object ( [status] => 200 [the_request] => GET /apache.php HTTP/1.1 [method] => GET [uri] => /http://nikmakepeace.com/index.php [filename] => /home/nik/html/test/http: [path_info] => //nikmakepeace.com/index.php [no_cache] => 0 [no_local_copy] => 1 [allowed] => 0 [sent_bodyct] => 0 [bytes_sent] => 0 [byterange] => 0 [clength] => 0 [unparsed_uri] => /http://nikmakepeace.com/index.php [request_time] => 1051788489 ) The uri is not a uri, nor the filename a filename. The content-length it not 0 etc etc. If this is an Apache bug, can you mention something in the documentation about it? -- Edit bug report at http://bugs.php.net/?id=23437&edit=1 -- Try a CVS snapshot: http://bugs.php.net/fix.php?id=23437&r=trysnapshot Fixed in CVS: http://bugs.php.net/fix.php?id=23437&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=23437&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=23437&r=needtrace Try newer version: http://bugs.php.net/fix.php?id=23437&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=23437&r=support Expected behavior: http://bugs.php.net/fix.php?id=23437&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=23437&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=23437&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=23437&r=globals PHP 3 support discontinued: http://bugs.php.net/fix.php?id=23437&r=php3 Daylight Savings: http://bugs.php.net/fix.php?id=23437&r=dst IIS Stability: http://bugs.php.net/fix.php?id=23437&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=23437&r=gnused

« previous php.bugs (#38878) next »