Last modified: 2013-12-06 12:38:12 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T59973, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 57973 - wgPasswordAttemptThrottle doesn't expire with xcache
wgPasswordAttemptThrottle doesn't expire with xcache
Status: UNCONFIRMED
Product: MediaWiki
Classification: Unclassified
User login and signup (Other open bugs)
1.19.9
All All
: Normal normal (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2013-12-04 12:20 UTC by alacn1
Modified: 2013-12-06 12:38 UTC (History)
1 user (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description alacn1 2013-12-04 12:20:30 UTC
$wgPasswordAttemptThrottle doesn't expire when using xcache.
I tested with versions 1.19.8, 1.19.9, 1.20.8, 1.21.3 and git 1.23alpha (c232652) 2013/12/04

includes/specials/SpecialUserlogin.php
function incLoginThrottle()

$wgMemc->incr( $throttleKey );
// incr() replaces expire ttl with 0, so it never expire.

// it can be fixed replacing incr() with
$wgMemc->set( $throttleKey, $throttleCount+1, $period );

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links