summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
Diffstat (limited to 'test')
-rwxr-xr-xtest/it.t5
1 files changed, 4 insertions, 1 deletions
diff --git a/test/it.t b/test/it.t
index 19f445f..0aee958 100755
--- a/test/it.t
+++ b/test/it.t
@@ -539,7 +539,7 @@ function requesturi($teststring, $expect)
{
$_SERVER['REQUEST_URI'] = urlencode($teststring);
it::params2utf8();
- is(urldecode($_SERVER['REQUEST_URI']), $expect, "parms2utf8('$expect')");
+ is(urldecode($_SERVER['REQUEST_URI']), $expect, "parms2utf8('$expect')"); # NOPHPLINT
}
_getopt(["val"], ['foo' => "val"]);
@@ -567,3 +567,6 @@ function _getopt($in, $expect)
is($opts, ['args' => $expect['args'] ?? []] + $expect);
}
+
+is(it::urldecode("a%61%E4"), "aaä");
+is(it::parse_str("%E4[%E4][%E4]=%E4"), ['ä' => ['ä' => ['ä' => 'ä']]]);