/
niceSOFT
/
curl
Обзор
Документация
Войти
/
niceSOFT
/
curl
Код
Задачи
Вики
Пакеты
0
Релизы
0
Аналитика
Безопасность
master
tests/data/test237
45 строк
855 B
Viktor Szakats
tests/data: add XML prolog to test files
12 дек 2025, 19:17
Не верифицирован
12 дек 2025, 19:17
b5ea073
Код
Авторство
О чём код?
<?xml version="1.0" encoding="US-ASCII"?> <testcase> <info> <keywords> FTP </keywords> </info> # Server-side <reply> <servercmd> REPLY PASV 227 Entering Passive Mode (1216,256,2,127,127,127) </servercmd> </reply> # Client-side <client> <server> ftp </server> <name> FTP getting bad host in 227-response to PASV </name> <command> ftp://%HOSTIP:%FTPPORT/%TESTNUMBER --disable-epsv </command> </client> # Verify data after the test has been "shot" # The bogus address used here is chosen specifically so that when processed on # certain hosts with buggy resolver code, the resulting address (192.0.2.127) # is from an address block that is guaranteed never to be assigned (RFC3330). <verify> # 14 = CURLE_FTP_WEIRD_227_FORMAT <errorcode> 14 </errorcode> <protocol crlf="yes"> USER anonymous PASS ftp@example.com PWD PASV </protocol> </verify> </testcase>