Last modified: 2008-01-16 07:16:11 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 12643 - Non-admins can move a page with a nbsp in its title over a page without the nbsp which is a redirect to itself but with no history
Non-admins can move a page with a nbsp in its title over a page without the n...
Product: MediaWiki
Classification: Unclassified
Redirects (Other open bugs)
All All
: Normal minor (vote)
: ---
Assigned To: Nobody - You can work on this!
Depends on:
  Show dependency treegraph
Reported: 2008-01-15 17:51 UTC by ais523
Modified: 2008-01-16 07:16 UTC (History)
1 user (show)

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


Description ais523 2008-01-15 17:51:25 UTC
This is, in theory, a security bug (allowing users to perform actions that are outside their permissions), but is actually minor because the action is so pointless. If a page whose name contains a space is a redirect to itself, and only has one entry in the history, it's possible for a non-administrator (specifically, someone without the 'delete' right) to move a page with the same name but with a non-breaking space in the title over the page with a space in the title; the software apparently confuses this with the reverse-a-redirect case where a page is moved over a redirect that points to the page being moved. The redirect-to-self is completely obliterated, leaving no deletion log entry nor deleted history. It seems unlikely that this is intended behaviour, although it is likely to be harmless.
Comment 1 Roan Kattouw 2008-01-15 19:12:39 UTC
I daresay this is an unintended feature: pages with   in their titles shouldn't exist, nor should redirects to self.
Comment 2 Brion Vibber 2008-01-16 07:16:11 UTC
This isn't an  -related issue at all -- you can move over *any* self-redirect with no history.

This appears to actually be on purpose... in Title::isValidMoveTarget() you'll find:

		# Does the redirect point to the source?
		# Or is it a broken self-redirect, usually caused by namespace collisions?

So... not a bug, intended behavior. :)

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