diff --git a/ecrire/inc_version.php3 b/ecrire/inc_version.php3 index 6c0361bba9088677729ac99b9a7c2f36642ea2c5..65909320487f053a9de214e3f89dc458f4685479 100644 --- a/ecrire/inc_version.php3 +++ b/ecrire/inc_version.php3 @@ -594,7 +594,9 @@ function http_gmoddate($lastmodified) { } function http_last_modified($lastmodified, $expire = 0) { $gmoddate = http_gmoddate($lastmodified); - if ($GLOBALS['HTTP_IF_MODIFIED_SINCE']) { + if ($GLOBALS['HTTP_IF_MODIFIED_SINCE'] + AND !preg_match(',IIS/,', $_SERVER['SERVER_SOFTWARE'])) # MSoft IIS is dumb + { $if_modified_since = ereg_replace(';.*$', '', $GLOBALS['HTTP_IF_MODIFIED_SINCE']); $if_modified_since = trim(str_replace('GMT', '', $if_modified_since)); if ($if_modified_since == $gmoddate) {