Last modified: 2008-09-05 22:30:46 UTC
BUG MIGRATED FROM SOURCEFORGE http://sourceforge.net/tracker/index.php?func=detail&aid=695913&group_id=34373&atid=411192 Originally submitted by Brion Vibber (vibber)<a href="/help/icon_legend.php?context=user_wantsdonations&user_id=446709&return_to=%2F"><IMG src="http://images.sourceforge.net/images/icons/donate.png" alt="Accepting Donations" border="0" width="16" height="16"></a> 2003-03-02 08:58 An attempt at a [[DD Month]] -> [[Month DD]] redirect-making bot recently created a bogus entry via a request like this: POST /w/wiki.phtml?title=$this_day%22,%20%22_%22,%20%22$this_month&action=submit This ran four times, and amazingly the page was created four times! The created page had the reduced title [[This_day,__,_this_month]]. Two problems with this: * First, the canonicalized title didn't come out right; multiple spaces/underscores appear at one point (between the commas), which means subsequent attempts to access it via that canonical title resulted in not finding any pages. (So it shows up in rc and contribs, but not in page view, edit, or history.) * Second, probably as a result of the first, the page was not found to be existing at post time, and thus multiple access attempts resulted in multiple entries being created with the same name! Recommendations: * Fix up the name canonicalization process to ensure that the results will be, in fact, canonical. There is another bug report or two on space problems, it should be followed. * Set up a UNIQUE index on (cur_namespace,cur_title) so the database will protect against any other remaining bugs in the wiki that might attempt to create duplicate entries. ------------------------- Additional comments ------------------------ Date: 2003-04-14 02:30 Sender: SF user vibber See also #720843 File upload doesn't quite validate names right ------------------------------------------------- Date: 2003-11-19 14:10 Sender: SF user vibber A more recently noticed problem along this vein; invalid characters coming before/in the namespace sometimes foul up namespace recognition before being discarded.
No longer seems to be an issue.