X-Git-Url: https://git.cyclocoop.org/%27.WWW_URL.%27admin/?a=blobdiff_plain;f=redirect.php;h=c0e8746ef6f507a533071d5c7b69516a2ccc0c54;hb=4e717c01589378893c98e333884315c166c217b3;hp=23db3271244aabe724645257beaa9f271de557f0;hpb=dcfb2251cb6ca38b377d46cf2debd2ae651f2309;p=lhc%2Fweb%2Fwiklou.git diff --git a/redirect.php b/redirect.php index 23db327124..c0e8746ef6 100644 --- a/redirect.php +++ b/redirect.php @@ -3,7 +3,12 @@ unset( $DP ); unset( $IP ); $wgCommandLineMode = false; define( 'MEDIAWIKI', true ); +if ( isset( $_REQUEST['GLOBALS'] ) ) { + echo '$GLOBALS overwrite vulnerability'; + die( -1 ); +} +require_once( './includes/Defines.php' ); require_once( './LocalSettings.php' ); global $wgArticlePath;