deps/curl/tests/data/test225
raw| 1 | <testcase> |
| 2 | <info> |
| 3 | <keywords> |
| 4 | FTP |
| 5 | FAILURE |
| 6 | </keywords> |
| 7 | </info> |
| 8 | # Client-side |
| 9 | <client> |
| 10 | <server> |
| 11 | ftp |
| 12 | </server> |
| 13 | <name> |
| 14 | FTP %0a-code in URL's name part |
| 15 | </name> |
| 16 | <command> |
| 17 | ftp://bad%0auser:passwd@%HOSTIP:%FTPPORT/225%0a |
| 18 | </command> |
| 19 | </client> |
| 20 | |
| 21 | # Verify data after the test has been "shot" |
| 22 | <verify> |
| 23 | # 3 == CURLE_URL_MALFORMAT |
| 24 | <errorcode> |
| 25 | 3 |
| 26 | </errorcode> |
| 27 | </verify> |
| 28 | </testcase> |