Re: Potential bug in main site code
| From: | Gabor Hojtsy | Date: | Fri, 12 Jul 2002 07:26:45 +0000 |
| Subject: | Re: Potential bug in main site code | ||
| References: | 1 | Groups: | php.mirrors |
| Request: | Send a blank email to php-mirrors+get-11291@lists.php.net to get a copy of this message | ||
Please report this as a website bug at http://bugs.php.net/
and so we won't forget about this thing, and can investigate
whether it's really a bug ;)
Thanks,
Goba [one webmaster@php.net]
----- Original Message -----
From: "Shannon Johnson" <shannon@designcurve.net>
To: <webmaster@php.net>
Sent: Friday, July 12, 2002 7:20 AM
Subject: Potential bug in main site code
> 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
> ---
> Website: http://www.designcurve.net
> EMail: shannon@designcurve.net
>
>
>