/
githubmirror
/
curl
Обзор
Документация
Войти
/
githubmirror
/
curl
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
master
tests/data/test1609
38 строк
587 B
alhudz
gopher: reject CR and LF in the selector
27 июн 2026, 00:09
Не верифицирован
27 июн 2026, 00:09
65d8eae
Код
Авторство
О чём код?
<?xml version="1.0" encoding="US-ASCII"?> <testcase> <info> <keywords> GOPHER CRLF-in-URL </keywords> </info> # Server-side <reply> </reply> # Client-side <client> <server> gopher </server> <name> Gopher with URL-encoded CR LF in the selector </name> <command> gopher://%HOSTIP:%GOPHERPORT/1/sel%0d%0aINJECT/%TESTNUMBER </command> </client> # Verify data after the test has been "shot" <verify> # 3 - CURLE_URL_MALFORMAT <errorcode> 3 </errorcode> # nothing must reach the server, the selector is rejected before any send <protocol nonewline="yes"> </protocol> </verify> </testcase>