Tags:
create new tag
, view all tags

Feature Proposal: URLPARAM with $br and $n variables in newline parameter

Motivation

Expand variables $n (for newline) and $br (for <br /> tag) in newline="" parameter of URLPARAM. Those should not get escaped based on encode parameter.

This is a proper fix for TWikibug:Item6276.

Description and Documentation

Change the newline documentation of VarURLPARAM as follows:

newline="$br" Convert newlines in textarea to other delimiters. Variables $br for break tag (<br />), $n for newline are expanded. Other text is encoded based on encode parameter. no conversion

Examples

Impact

WhatDoesItAffect: Security

Implementation

-- Contributors: PeterThoeny - 2010-03-03

Discussion

This is now implemented in trunk, TWikibug:Item6404. Related CommentPlugin fix for TWikibug:Item6276 is also done (cannot specify percentBRpercent for newline value.)

-- PeterThoeny - 2010-03-20

 
Topic revision: r4 - 2010-03-20 - PeterThoeny
 
Twitter Delicious Facebook Digg Google Bookmarks E-mail LinkedIn Reddit StumbleUpon    
  • Download TWiki
TWiki logo Powered by PerlIdeas, 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.