mirror of
https://github.com/moparisthebest/curl
synced 2024-11-18 07:25:14 -05:00
950b53da0d
... as this is already done much earlier in the URL parser. Also add test case 894 that verifies that pop3 with an encodedd CR in the user name is rejected. Closes #4887
38 lines
406 B
Plaintext
38 lines
406 B
Plaintext
<testcase>
|
|
<info>
|
|
<keywords>
|
|
POP3
|
|
Clear Text
|
|
RETR
|
|
</keywords>
|
|
</info>
|
|
|
|
#
|
|
# Server-side
|
|
<reply>
|
|
</reply>
|
|
|
|
#
|
|
# Client-side
|
|
<client>
|
|
<server>
|
|
pop3
|
|
</server>
|
|
<name>
|
|
POP3 with CR in username
|
|
</name>
|
|
<command>
|
|
pop3://user%0dFRIGGING_cmd:secret@%HOSTIP:%POP3PORT/894
|
|
</command>
|
|
</client>
|
|
|
|
#
|
|
# Verify data after the test has been "shot"
|
|
<verify>
|
|
# malformed URL
|
|
<errorcode>
|
|
3
|
|
</errorcode>
|
|
</verify>
|
|
</testcase>
|