ID: 14466
Updated by: sander
Reported By: [EMAIL PROTECTED]
Old Status: Open
Status: Analyzed
Bug Type: Apache related
Operating System: Red Hat Linux 7.0
PHP Version: 4.1.0
New Comment:

Confirmed on Windows 2000/Apache 1.3.22 with both 4.1.0 and a recent (10-dec) 
4.2.0-dev build...
You need mod_negotiation enabled in Apache to use the multiview option, which performs 
this extension-guessing (http://httpd.apache.org/docs/content-negotiation.html).

Should we mark this bug as critical? IMO, we should, we can't encourage users to use 
$_GET and $_POST if they're useless via multiviews.

Previous Comments:
------------------------------------------------------------------------

[2001-12-12 14:41:05] [EMAIL PROTECTED]


The Post and Get arrays do not get populated when the  filename in the URL does not 
have the extension. (Apache allows us to access files without their extension)

If we access a file as:

http://server.com/file.php?foo=bar

Then foo=bar will be set in _GET. however, if we access the same file as:

http://server.com/file?foo=bar

Then _GET will be an empty array. Same is true for _POST.


------------------------------------------------------------------------



Edit this bug report at http://bugs.php.net/?id=14466&edit=1


-- 
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to