Tags:
create new tag
, view all tags

Feature Proposal: Add encode and decode functions to TWiki::Func

Motivation

Plugins' needs to encode and decode text for URL and entity.

Description and Documentation

TWiki::Func::entityEncode( text, extra ) -> text -- entity encode text, as in TWiki::entityEncode()

TWiki::Func::entityDecode( text ) -> text -- entity decode text, as in TWiki::entityDecode()

TWiki::Func::urlEncode( text ) -> text -- url encode text, as in TWiki::_encode()

TWiki::Func::urlDecode( text ) -> text -- url decode text, as in TWiki::urlDecode()

Examples

Impact

Implementation

-- Contributors: PeterThoeny - 2012-11-13

Discussion

This is now accepted by 7 day feedback period.

-- PeterThoeny - 2012-11-19

This is now done in SVN trunk.

-- PeterThoeny - 2012-11-21

Edit | Attach | Watch | Print version | History: r4 < r3 < r2 < r1 | Backlinks | Raw View | Raw edit | More topic actions
Topic revision: r4 - 2012-11-21 - 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.