Tags:
create new tag
view all tags

SID-00602: fragile HTML tag stripping in AliasPlugin

Status: Unanswered Unanswered TWiki version: 4.3.1 Perl version:
Category: AliasPlugin Server OS: Last update: 16 years ago

First thanks for this great plugin!

However, I fear the HTML tag stripping is too agressive. Consider for example

if a < b then write "lesser and TESTALIAS" elseif a > b then write "not equal"
TESTALIAS will not be replaced, although it should (it is not within an HTML tag).

Also it is not possible to create an working alias that does this:

%ALIAS{name="<--" value="&larr;"}%

How about using HTML::Parser instead the simpel (but problematic) regex (line 348 in AliasPlugin.pm) to get a much more robust solution?

I used AliasPlugin release 2.31 (revision 16746 from 12 Dec 2008)

-- TWikiGuest - 2009-10-30

Discussion and Answer

Closing this question after more than 30 days of inactivity. Feel free to reopen if needed. Consider engaging one of the TWiki consultants if you need timely help. We invite you to get involved with the community, it is more likely you get community support if you support the open source project!

-- PeterThoeny - 2009-12-03

      Change status to:
ALERT! If you answer a question - or someone answered one of your questions - please remember to edit the page and set the status to answered. The status selector is below the edit box.
SupportForm
Status Unanswered
Title fragile HTML tag stripping in AliasPlugin
SupportCategory AliasPlugin
TWiki version 4.3.1
Server OS

Web server

Perl version

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