/
githubmirror
/
curl
Обзор
Документация
Войти
/
githubmirror
/
curl
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
master
tests/data/test2108
41 строка
565 B
alhudz
pingpong: reject nul byte in server response line
18 июн 2026, 15:17
Не верифицирован
18 июн 2026, 15:17
2f8fb98
Код
Авторство
О чём код?
<?xml version="1.0" encoding="US-ASCII"?> <testcase> <info> <keywords> FTP </keywords> </info> # Server-side <reply> <servercmd> REPLY PASS 230 logged\x00 in </servercmd> </reply> # Client-side <client> <server> ftp </server> <name> FTP rejects a nul byte in a server response line </name> <command> ftp://%HOSTIP:%FTPPORT/%TESTNUMBER </command> </client> # Verify data after the test has been "shot" <verify> <protocol crlf="yes"> USER anonymous PASS ftp@example.com </protocol> # 8 == CURLE_WEIRD_SERVER_REPLY <errorcode> 8 </errorcode> </verify> </testcase>