From 6af639103cff531d35b18741f444db6280a8bd61 Mon Sep 17 00:00:00 2001 From: Christian Schneider Date: Thu, 15 Feb 2018 15:44:50 +0100 Subject: Encode [] in url parameters as new tidy validates URLs and complains about it --- tests/U_tests.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tests') diff --git a/tests/U_tests.json b/tests/U_tests.json index 2d868e3..591fdc9 100644 --- a/tests/U_tests.json +++ b/tests/U_tests.json @@ -85,7 +85,7 @@ { "args": ["/foo.html", {"bar": {"gna": 42, "qux": {"quux": "", "gnöp": "fasel"}}}], - "exp": "/foo.html?bar[gna]=42&bar[qux][quux]=%3CZ%C3%BCrich%3E&bar[qux][gn%C3%B6p]=fasel", + "exp": "/foo.html?bar%5Bgna%5D=42&bar%5Bqux%5D%5Bquux%5D=%3CZ%C3%BCrich%3E&bar%5Bqux%5D%5Bgn%C3%B6p%5D=fasel", "name": "U() with nested arrays" }, -- cgit v1.2.3