Test ENCODE and URLPARAM
VarENCODE and
VarURLPARAM. Add URL param:
https://svn.twiki.org/do/view/LitterTray/Item6186Test?tt=ab%27c%22d%20%3c%20tag%20%3e%20%25X
* ENCODE{ "ab'c < tag > %X" } = ab%27c%20%3c%20tag%20%3e%20%25X
* ENCODE{ "ab'c < tag > %X" type="entity" } = ab'c < tag > %X
* ENCODE{ "ab'c < tag > %X" type="html" } = ab'c < tag > %X
* ENCODE{ "ab'c"d < tag > %X" type="quotes" } = ab'c\"d < tag > %X
* ENCODE{ "ab'c < tag > %X" type="url" } = ab%27c%20%3c%20tag%20%3e%20%25X
* ENCODE{ "ab'c < tag > %X" type="safe" } = ab'c < tag > %X
* ENCODE{ "ab'c < tag > %X" type="none" } = ab'c < tag > %X
* URLPARAM{ "tt" } =
* URLPARAM{ "tt" type="entity" } =
* URLPARAM{ "tt" type="html" } =
* URLPARAM{ "tt" type="quotes" } =
* URLPARAM{ "tt" type="url" } =
* URLPARAM{ "tt" type="safe" } =
* URLPARAM{ "tt" type="none" } =
(look at raw html text to test)
--
TWiki:Main.PeterThoeny
- 23 Feb 2009