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


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.


Topic attachments
I Attachment History Action Size Date Who Comment
Unknown file formatpatch Render.patch r1 manage 0.4 K 2005-02-17 - 20:20 ThomasWeigert  
Edit | Attach | Watch | Print version | History: r8 < r7 < r6 < r5 < r4 | Backlinks | Raw View | Raw edit | More topic actions
Topic revision: r8 - 2005-05-01 - ThomasWeigert
  • 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-2018 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.