summaryrefslogtreecommitdiff
path: root/tests/it_html.t
diff options
context:
space:
mode:
Diffstat (limited to 'tests/it_html.t')
-rwxr-xr-xtests/it_html.t5
1 files changed, 5 insertions, 0 deletions
diff --git a/tests/it_html.t b/tests/it_html.t
index 4f4da24..22c8459 100755
--- a/tests/it_html.t
+++ b/tests/it_html.t
@@ -196,6 +196,11 @@ is(
);
is(
+ U('/test.html?foo=bar?qux=gna', array('?q' => '?r')),
+ '/test.html?foo=bar?qux=gna&%3Fq=%3Fr',
+ 'U() quoting of ? in args but not base'
+);
+is(
U('%% %1%x %1x%x1%xx%11%ff%FF'),
'%25%25%20%251%25x%20%251x%25x1%25xx%11%ff%FF',
'U() quoting of % if not followed by 2 hex digits'