r44606 MediaWiki - Code Review archive

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

Diff [purge]

Index: trunk/extensions/uniwiki/UniwikiSettings.php
@@ -1,5 +1,10 @@
22 <?php
33
 4+if ( !defined( 'MEDIAWIKI' ) ) {
 5+ echo "This is not a valid entry point.\n";
 6+ exit( 1 );
 7+}
 8+
49 # default settings for UNIWIKI extension package
510 $wgLogo = "$wgScriptPath/extensions/uniwiki/uniwiki.png";
611 $uw = "$IP/extensions/uniwiki";

Status & tagging log