Tags:
create new tag
view all tags

Bug: Rename allows a dot (".") in new page name

If the "Allow non WikiWord name" box is checked, TWiki will allow renaming the topic to a name that has a period (".") in it. If you do this, the data files will be renamed to the new name, but then the scripts aren't able to find them. The page contents also get overwritten and only the META:TOPICINFO and META:TOPICMOVED tags remain. The user this struck described it to me as "The Wiki ate my page".

It looks like the problem is due to the fact that no topic name checking occurs if the "allow non WikiWord" box is checked. When this option is selected, the new topic should not be required to be a WikiWord, but the rename script should still validate that it does not include illegal characters (space, ".", <, >, &, etc.).

Test case

Create a topic, attempt to rename it to a name that includes a period (or other illegal character).

Environment

TWiki version: TWikiRelease02Sep2004
TWiki plugins: DefaultPlugin, SpreadSheetPlugin, BugzillaLinkPlugin, CommentPlugin, EditTablePlugin, InterwikiPlugin, RenderListPlugin, SessionPlugin, SlideShowPlugin, SmiliesPlugin, TablePlugin
Server OS: Red Hat Linux 9, kernel 2.4.24
Web server: Apache 2.0.40 (redhat RPM 2.0.40-21) + SpeedyCGI 2.22
Perl version: 5.8.0 (redhat RPM 4.8.0-88)
Client OS:  
Web Browser:  

-- MarcUnangst - 10 Feb 2005

Follow up

Fix record

Fixed in DEVELOP rev 3617. Well spotted, Marc - many thanks.

-- CrawfordCurrie - 11 Feb 2005

Edit | Attach | Watch | Print version | History: r3 < r2 < r1 | Backlinks | Raw View | Raw edit | More topic actions
Topic revision: r3 - 2005-02-13 - SamHasler
 
  • Learn about TWiki  
  • Download TWiki
This site is powered by the TWiki collaboration platform Powered by Perl Hosted by OICcam.com Ideas, requests, problems regarding TWiki? Send feedback. Ask community in the support forum.
Copyright © 1999-2026 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.