Last modified: 2013-01-08 17:41:04 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 T34434, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 32434 - Api allows reblocking the user if reblock parameter is not specified
Api allows reblocking the user if reblock parameter is not specified
Status: RESOLVED FIXED
Product: MediaWiki
Classification: Unclassified
User blocking (Other open bugs)
1.18.x
All All
: Low normal (vote)
: ---
Assigned To: Nobody - You can work on this!
https://test.wikipedia.org/w/index.ph...
:
: 43634 (view as bug list)
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2011-11-15 20:10 UTC by Beau
Modified: 2013-01-08 17:41 UTC (History)
6 users (show)

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


Attachments

Description Beau 2011-11-15 20:10:14 UTC
When block requests are issued one after another (they do not have to be concurrent!) I am able to reblock user without reblock parameter.

7 of total 9 attempts were successful.

The request is as follows:
'action'   => 'block',
'user'     => "127.0.0.2",
'expiry'   => '2 hours',
'reason'   => 'reason',
'anononly' => 1,
'nocreate' => 1,
'token'    => 'xxx',
Comment 1 Sam Reed (reedy) 2011-11-15 20:37:42 UTC
It's not the API at fault, it just packages the parameters and passes them to SpecialBlock::processForm()
Comment 2 Beau 2012-04-14 21:51:35 UTC
I have submitted a change https://gerrit.wikimedia.org/r/#q,I29275eb4b5f425b7382ba8b7dec050209878f81b,n,z for review.
Comment 3 Alex Monk 2012-12-25 21:45:34 UTC
(In reply to comment #2)
> I have submitted a change
> https://gerrit.wikimedia.org/r/#q,I29275eb4b5f425b7382ba8b7dec050209878f81b,
> n,z
> for review.

Approved by Aaron Schulz on the 20th.
Comment 4 Brad Jorsch 2013-01-08 17:41:04 UTC
*** Bug 43634 has been marked as a duplicate of this bug. ***

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


Navigation
Links