Last modified: 2012-05-03 02:42:44 UTC

Wikimedia Bugzilla is closed!

Wikimedia has migrated from Bugzilla to Phabricator. Bug reports should be created and updated in Wikimedia Phabricator instead. Please create an account in Phabricator and add your Bugzilla email address to it.
Wikimedia Bugzilla is read-only. If you try to edit or create any bug report in Bugzilla you will be shown an intentional error message.
In order to access the Phabricator task corresponding to a Bugzilla report, just remove "static-" from its URL.
You could still run searches in Bugzilla or access your list of votes but bug reports will obviously not be up-to-date in Bugzilla.
Bug 33992 - Allow anon a formless purge with POST
Allow anon a formless purge with POST
Product: MediaWiki
Classification: Unclassified
General/Unknown (Other open bugs)
All All
: High normal (vote)
: 1.19.0 release
Assigned To: Aaron Schulz
: need-integration-test
Depends on:
Blocks: 31217
  Show dependency treegraph
Reported: 2012-01-27 16:11 UTC by Umherirrender
Modified: 2012-05-03 02:42 UTC (History)
3 users (show)

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


Description Umherirrender 2012-01-27 16:11:07 UTC
Under 1.17 was it possible for anon to do a purge as POST without getting a form.

It is possible to get this back? The API allows this.

The 1.17 code has a $wgRequest->wasPosted() [1], but that is lost under 1.18 and only the user right 'purge' is used to make the difference [2].


Comment 1 Mark A. Hershberger 2012-01-30 18:09:32 UTC
marking as deployment blocker since this is apparently a regression that was in 1.18.  Also, need a test for this if it is fixed to keep it from happening again.
Comment 2 Rob Lanphier 2012-01-30 22:57:15 UTC
Aaron has an idea for how to fix this.  Seems to have been introduced with r86041
Comment 3 Aaron Schulz 2012-01-30 23:44:50 UTC
Fixed in r110342.

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