summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorChristian Schneider2018-02-15 15:44:50 +0100
committerChristian Schneider2018-02-15 15:44:50 +0100
commit6af639103cff531d35b18741f444db6280a8bd61 (patch)
treef6500937ed62ddc627d0dd72f6d920a40b141306 /tests
parent36572cde8de29b47f94f74b9812afa443bd02567 (diff)
downloaditools-6af639103cff531d35b18741f444db6280a8bd61.tar.gz
itools-6af639103cff531d35b18741f444db6280a8bd61.tar.bz2
itools-6af639103cff531d35b18741f444db6280a8bd61.zip
Encode [] in url parameters as new tidy validates URLs and complains about it
Diffstat (limited to 'tests')
-rw-r--r--tests/U_tests.json2
1 files changed, 1 insertions, 1 deletions
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": "<Zürich>", "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"
},