Bug #18317 Updated: Checking of the "last modified" string broken
| From: | hholzgra@php.net | Date: | Tue, 23 Jul 2002 19:50:25 +0000 |
| Subject: | Bug #18317 Updated: Checking of the "last modified" string broken | ||
| References: | 1 | Groups: | php.mirrors |
| Request: | Send a blank email to php-mirrors+get-11522@lists.php.net to get a copy of this message | ||
ID: 18317
Updated by: hholzgra@php.net
Reported By: shannon@designcurve.net
Status: Open
Bug Type: Website problem
Operating System: NA
PHP Version: 4.2.1
New Comment:
a clear violation of RFC2616 14.25 on behalf of M$
Previous Comments:
------------------------------------------------------------------------
[2002-07-12 11:55:23] shannon@designcurve.net
Hello,
I was viewing your source code, and found a potential "bug." The
following
code:
if ($_SERVER["HTTP_IF_MODIFIED_SINCE"] == $tsstring){
should be changed to:
if (strstr($_SERVER["HTTP_IF_MODIFIED_SINCE"], $tsstring)){
Your implementation will work fine with NS, but IE (I am using version
6)
sends a header like this:
If-Modified-Since: Fri, 12 Jul 2002 05:08:03 GMT; length=4192
Regards,
Shannon Johnson
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=18317&edit=1