From fdb49bcc7704cbf46014dae6091f61235dab01cb Mon Sep 17 00:00:00 2001 From: Urban Müller Date: Tue, 8 Sep 2009 15:06:21 +0000 Subject: guarantee validating urls, fix double encoding of url params in base --- tests/it_html.t | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'tests') 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 /' +); ?> -- cgit v1.2.3