From 9b2dfe88bba160922e049ae9a19db585b65cbd56 Mon Sep 17 00:00:00 2001 From: Daniel Stenberg Date: Fri, 2 Jun 2017 13:16:13 +0200 Subject: test1537: dedicated tests of the URL (un)escape API calls Closes #1530 --- tests/data/test1537 | 45 +++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 45 insertions(+) create mode 100644 tests/data/test1537 (limited to 'tests/data/test1537') diff --git a/tests/data/test1537 b/tests/data/test1537 new file mode 100644 index 000000000..33d8ab3d9 --- /dev/null +++ b/tests/data/test1537 @@ -0,0 +1,45 @@ + + + +URL escape + + + +# +# Server-side + + + +# Client-side + + +none + + +lib1537 + + + +libcurl URL escape/unescape tests + + +nothing + + + +# +# Verify data after the test has been "shot" + + +%2F%3A%3B%3C%3D%3E%3F%91%A2%B3%C4%D5%E6%F7 +%2F%3A%3B%3C%3D%3E%3F%91%A2%B3%C4%D5%E6%F7 +outlen == 14 +unescape == original? YES +[old] outlen == 14 +[old] unescape == original? YES +escape -1 length: (nil) +unescape -1 length: (nil) 2017 + + + + -- cgit v1.2.3