From: Max Semenik Date: Thu, 25 Feb 2010 17:50:26 +0000 (+0000) Subject: fix debug logging from r62967 X-Git-Tag: 1.31.0-rc.0~37608 X-Git-Url: http://git.cyclocoop.org/%22.%24info%5B?a=commitdiff_plain;h=6874e3a3100ba06b444bcb82e54103853fd31686;p=lhc%2Fweb%2Fwiklou.git fix debug logging from r62967 --- diff --git a/includes/specials/SpecialUserlogout.php b/includes/specials/SpecialUserlogout.php index 28f8a5eed0..e23df612cc 100644 --- a/includes/specials/SpecialUserlogout.php +++ b/includes/specials/SpecialUserlogout.php @@ -14,8 +14,8 @@ function wfSpecialUserlogout() { * Some satellite ISPs use broken precaching schemes that log people out straight after * they're logged in (bug 17790). Luckily, there's a way to detect such requests. */ - wfDebug( $_SERVER['REQUEST_URI'] . "\n" ); if ( isset( $_SERVER['REQUEST_URI'] ) && strpos( $_SERVER['REQUEST_URI'], '&' ) !== false ) { + wfDebug( "Special:Userlogout request {$_SERVER['REQUEST_URI']} looks suspicious, denying.\n" ); wfHttpError( 400, wfMsg( 'loginerror' ), wfMsg( 'suspicious-userlogout' ) ); return; }