From: Siebrand Mazeland Date: Sat, 14 May 2011 16:01:15 +0000 (+0000) Subject: Remove special case for IE on Mac. No longer supported. Also fixes bug 28937: The... X-Git-Tag: 1.31.0-rc.0~30193 X-Git-Url: http://git.cyclocoop.org/%7B%24admin_url%7Dmes_infos.php?a=commitdiff_plain;h=e68adda7c37970130d5f62fabfb9995e65bc3f1e;p=lhc%2Fweb%2Fwiklou.git Remove special case for IE on Mac. No longer supported. Also fixes bug 28937: The /* Empty */ comment inserted by RawPage::getArticleText should be localizable. --- diff --git a/includes/RawPage.php b/includes/RawPage.php index c994cb74e9..c722c1c18d 100644 --- a/includes/RawPage.php +++ b/includes/RawPage.php @@ -220,20 +220,6 @@ class RawPage { header( 'HTTP/1.0 404 Not Found' ); } - // Special-case for empty CSS/JS - // - // Internet Explorer for Mac handles empty files badly; - // particularly so when keep-alive is active. It can lead - // to long timeouts as it seems to sit there waiting for - // more data that never comes. - // - // Give it a comment... - if( strlen( $text ) == 0 && - ( $this->mContentType == 'text/css' || - $this->mContentType == 'text/javascript' ) ) { - return '/* Empty */'; - } - return $this->parseArticleText( $text ); }