Index: trunk/phase3/includes/specials/SpecialUserlogout.php |
— | — | @@ -14,8 +14,8 @@ |
15 | 15 | * Some satellite ISPs use broken precaching schemes that log people out straight after |
16 | 16 | * they're logged in (bug 17790). Luckily, there's a way to detect such requests. |
17 | 17 | */ |
18 | | - wfDebug( $_SERVER['REQUEST_URI'] . "\n" ); |
19 | 18 | if ( isset( $_SERVER['REQUEST_URI'] ) && strpos( $_SERVER['REQUEST_URI'], '&' ) !== false ) { |
| 19 | + wfDebug( "Special:Userlogout request {$_SERVER['REQUEST_URI']} looks suspicious, denying.\n" ); |
20 | 20 | wfHttpError( 400, wfMsg( 'loginerror' ), wfMsg( 'suspicious-userlogout' ) ); |
21 | 21 | return; |
22 | 22 | } |