lh | 9ed821d | 2023-04-07 01:36:19 -0700 | [diff] [blame] | 1 | <testcase> |
| 2 | <info> |
| 3 | <keywords> |
| 4 | URL escape |
| 5 | </keywords> |
| 6 | </info> |
| 7 | |
| 8 | # |
| 9 | # Server-side |
| 10 | <reply> |
| 11 | </reply> |
| 12 | |
| 13 | # Client-side |
| 14 | <client> |
| 15 | <server> |
| 16 | none |
| 17 | </server> |
| 18 | <tool> |
| 19 | lib1537 |
| 20 | </tool> |
| 21 | |
| 22 | <name> |
| 23 | libcurl URL escape/unescape tests |
| 24 | </name> |
| 25 | <command> |
| 26 | nothing |
| 27 | </command> |
| 28 | </client> |
| 29 | |
| 30 | # |
| 31 | # Verify data after the test has been "shot" |
| 32 | <verify> |
| 33 | <stdout> |
| 34 | %2F%3A%3B%3C%3D%3E%3F%91%A2%B3%C4%D5%E6%F7 |
| 35 | %2F%3A%3B%3C%3D%3E%3F%91%A2%B3%C4%D5%E6%F7 |
| 36 | outlen == 14 |
| 37 | unescape == original? YES |
| 38 | [old] outlen == 14 |
| 39 | [old] unescape == original? YES |
| 40 | escape -1 length: (nil) |
| 41 | unescape -1 length: (nil) 2017 |
| 42 | </stdout> |
| 43 | </verify> |
| 44 | |
| 45 | </testcase> |