* Added wfDie() wrapper, and some manual die(-1), to force the return code
[lhc/web/wiklou.git] / thumb.php
index f4765d6..07a6abc 100644 (file)
--- a/thumb.php
+++ b/thumb.php
@@ -8,7 +8,8 @@
 define( 'MEDIAWIKI', true );
 unset( $IP );
 if ( isset( $_REQUEST['GLOBALS'] ) ) {
-       die( '<a href="http://www.hardened-php.net/index.76.html">$GLOBALS overwrite vulnerability</a>');
+       echo '<a href="http://www.hardened-php.net/index.76.html">$GLOBALS overwrite vulnerability</a>';
+       die( -1 );
 }
 
 $wgNoOutputBuffer = true;