r44607 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r44606‎ | r44607 | r44608 >
Date:08:49, 15 December 2008
Author:tstarling
Status:ok
Tags:
Comment:
Fix register_globals XSS vulnerability found during automated scan.
Modified paths:
  • /trunk/extensions/EmergencyDeSysop/EmergencyDeSysop.php (modified) (history)

Diff [purge]

Index: trunk/extensions/EmergencyDeSysop/EmergencyDeSysop.php
@@ -3,7 +3,7 @@
44 if (!defined('MEDIAWIKI')) {
55 echo <<<EOT
66 To install our extension, put the following line in LocalSettings.php:
7 -require_once( "$IP/extensions/EmergencyDeSysop/EmergencyDeSysop" );
 7+require_once( "\$IP/extensions/EmergencyDeSysop/EmergencyDeSysop" );
88 EOT;
99 exit( 1 );
1010 }

Status & tagging log