#18317 [Opn->Bgs]: Checking of the "last modified" string broken

From: Date: Wed, 14 Aug 2002 21:39:50 +0000
Subject: #18317 [Opn->Bgs]: Checking of the "last modified" string broken
References: 1  Groups: php.mirrors 
Request: Send a blank email to php-mirrors+get-11976@lists.php.net to get a copy of this message
ID: 18317 Updated by: tal@php.net Reported By: shannon@designcurve.net -Status: Open +Status: Bogus Bug Type: Website problem Operating System: NA PHP Version: 4.2.1 New Comment: Indeed, a violation of the RFC, marking as bogus as it's actually a bug in IE. -Tal Previous Comments: ------------------------------------------------------------------------ [2002-07-23 15:50:24] hholzgra@php.net a clear violation of RFC2616 14.25 on behalf of M$ ------------------------------------------------------------------------ [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

« previous php.mirrors (#11976) next »