Tags:
create new tag
, view all tags

Bug: Filter form fields for illegal characters

In view, forms get rendered as tables. Thus linebreaks and vertical bars are not allowed. Currently, lib/TWiki/Render.pm replaces line breaks (but not all) by <br />, but does not handle vertical bars. Forms break if they contain such.

Test case

See form below, field RelatedTopics

Environment

TWiki version: TWikiRelease02Sep2004
TWiki plugins: DefaultPlugin, EmptyPlugin, InterwikiPlugin
Server OS:  
Web server:  
Perl version:  
Client OS:  
Web Browser:  

-- ThomasWeigert - 17 Feb 2005

Impact and Available Solutions

Follow up

Thanks for the patch...

DevelopBranch has moved on so much that TWikiRelease02Sep2004 is very old. I question whether the patch can still be relevant...

-- MartinCleaver - 18 Feb 2005

This fix is found also in Dakar SVN (not clear what label introduced it).

-- ThomasWeigert - 01 May 2005

 

Fix record

Patch for Cairo is attached.

Discussion

Topic attachments
I Attachment Action Size Date Who Comment
Unknown file formatpatch Render.patch manage 0.4 K 2005-02-17 - 20:20 ThomasWeigert  
Topic revision: r8 - 2005-05-01 - ThomasWeigert
 
Twitter Delicious Facebook Digg Google Bookmarks E-mail LinkedIn Reddit StumbleUpon    
  • Download TWiki
TWiki logo Powered by Perl Hosted by OICcam.com Ideas, requests, problems regarding TWiki? Send feedback. Ask community in the support forum.
Copyright © 1999-2012 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.