r85850 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r85849‎ | r85850 | r85851 >
Date:01:27, 12 April 2011
Author:tstarling
Status:ok
Tags:
Comment:
MFT r85849: Check all MSIE requests since we also want to protect IE 3-5 etc.
Modified paths:
  • /branches/REL1_16/phase3/includes/WebRequest.php (modified) (history)

Diff [purge]

Index: branches/REL1_16/phase3/includes/WebRequest.php
@@ -700,10 +700,10 @@
701701 && preg_match( '/\.[a-z]{1,4}$/i', $_SERVER['QUERY_STRING'] ) )
702702 {
703703 // Bug 28235
704 - // Block only Internet Explorer 6, and requests with missing UA
 704+ // Block only Internet Explorer, and requests with missing UA
705705 // headers that could be IE users behind a privacy proxy.
706706 if ( !isset( $_SERVER['HTTP_USER_AGENT'] )
707 - || preg_match( '/; *MSIE 6/', $_SERVER['HTTP_USER_AGENT'] ) )
 707+ || preg_match( '/; *MSIE/', $_SERVER['HTTP_USER_AGENT'] ) )
708708 {
709709 return true;
710710 }

Past revisions this follows-up on

RevisionCommit summaryAuthorDate
r85849Check all MSIE requests since we also want to protect IE 3-5 etc.tstarling01:26, 12 April 2011

Status & tagging log