Bug #11632 Updated: Bad Request on most Sites
| From: | sniper@php.net | Date: | Sat, 23 Jun 2001 20:49:18 +0000 |
| Subject: | Bug #11632 Updated: Bad Request on most Sites | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-57783@lists.php.net to get a copy of this message | ||
ID: 11632
Updated by: sniper
Reported By: cheapsalsa@yahoo.com
Old-Status: Open
Status: Analyzed
Old-Bug Type: URL related
Bug Type: HTTP related
Operating system:
PHP Version: 4.0.6
Assigned To:
Comments:
Previous Comments:
---------------------------------------------------------------------------
[2001-06-23 15:22:45] cheapsalsa@yahoo.com
I have created a webpage to get the HTTP headers of a page. This worked fine with 4.0.5 (using the
$http_request_header variable.) But, in 4.0.6, almost all websites give me a 400 Bad Request Error
when using this script. To get the webpages I use
$pagefile=file("http://$url");
where $url is the url (without the http://) I want to use. The only site I
have found that does not give me a 400 error is www.yahoo.com. As I said, this script worked fine
with 4.0.5 and I have not changed anything since using 4.0.6. I just installed PHP 4.0.6 today
(June 23.) I compiled it with Apache 1.3.20 using all the same configure stuff, etc... Compiling
process went normal. I can usually debug things like this, but I cannot figure out what would have
caused this one. I am guessing PHP is sending corrupted requests, but I really don't know.
---------------------------------------------------------------------------
ATTENTION! Do NOT reply to this email!
To reply, use the web interface found at http://bugs.php.net/?id=11632&edit=2