summaryrefslogtreecommitdiff
path: root/tests/it_html.t
diff options
context:
space:
mode:
authorUrban Müller2009-09-08 15:06:21 +0000
committerUrban Müller2009-09-08 15:06:21 +0000
commitfdb49bcc7704cbf46014dae6091f61235dab01cb (patch)
tree07630068f34a850b54db1046e1e06e3c8c836aa1 /tests/it_html.t
parentc76b416bb384500b372f1dbc02ccf1c8d9ab1178 (diff)
downloaditools-fdb49bcc7704cbf46014dae6091f61235dab01cb.tar.gz
itools-fdb49bcc7704cbf46014dae6091f61235dab01cb.tar.bz2
itools-fdb49bcc7704cbf46014dae6091f61235dab01cb.zip
guarantee validating urls, fix double encoding of url params in base
Diffstat (limited to 'tests/it_html.t')
-rwxr-xr-xtests/it_html.t10
1 files changed, 10 insertions, 0 deletions
diff --git a/tests/it_html.t b/tests/it_html.t
index 592fffe..9c05341 100755
--- a/tests/it_html.t
+++ b/tests/it_html.t
@@ -131,5 +131,15 @@ is(
'U() with single quotes in URL',
);
+is(
+ U('%% %1%x %1x%x1%xx%11%ff%FF'),
+ '%25%25+%251%25x+%251x%25x1%25xx%11%ff%FF',
+ 'quoting of % if not followed by 2 hex digits'
+);
+is(
+ U('a\\b'),
+ 'a/b',
+ 'converting of \ to /'
+);
?>