Tags:
archive_me1Add my vote for this tag create new tag
, view all tags

Bug: Accidental Meta Declaration In Topic Text Is Nasty.

I managed to accidentally create a form declaration in a topic during an edit. It was of course for a non-existant form which caused a problem (oopsnoformtemplate) not on trying to save the topic but on any subsequent attempt to modify it. ie I entered (percent)META:FORM{SomeLoadOfRubbish}(percent) where (percent) is a % symbol. This seems a little user hostile. Ok idiot hostile - nobody other than myself would do such a thing :-). Is it possible to check for meta data outside the block at the end of the topic (does anything delineate this?) and ignore it or fail on preview/save? It would also be really nice if there was (is there?) a way to do a rollback of something corrupt like this (ie via RCS) without having the edit validation stuff throw an oopsnoformtemplate?

Test Case

Enter (in edit) and save:

(percent)META:FORM{SomeLoadOfRubbish}(percent) where (percent) is a % symbol

Environment

TWiki version: 01Dec2001
TWiki plugins: None
Server OS: Linux
Web server: Apache
Perl version: 5.6.1
Client OS: Windows
Web Browser: IE5

-- DarrylGreen - 21 Jul 2002

Follow up

We could make TWiki robust for this type of user input, but it is very unlikely that this happens in normal use. It can happen when experimenting with TWiki after reading the TWiki code and admin docs. So we will not fix this in favor of issues with higher priority (unless you or someone else provides code)

Fix record

Edit | Attach | Watch | Print version | History: r2 < r1 | Backlinks | Raw View | Raw edit | More topic actions
Topic revision: r2 - 2002-07-22 - PeterThoeny
 
  • 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-2017 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.