mirror of
https://github.com/curl/curl.git
synced 2024-11-27 05:50:21 +08:00
0d037cfdce
* Missing initialisation of upload status caused a seg fault * Missing data termination caused corrupt data to be uploaded * Data verification should be performed in <upload> element * Added missing recipient list cleanup
64 lines
621 B
Plaintext
64 lines
621 B
Plaintext
<testcase>
|
|
# Based off test 901 after bug report #1456
|
|
<info>
|
|
<keywords>
|
|
SMTP
|
|
</keywords>
|
|
</info>
|
|
|
|
#
|
|
# Client-side
|
|
<client>
|
|
<server>
|
|
smtp
|
|
</server>
|
|
<tool>
|
|
lib1520
|
|
</tool>
|
|
|
|
<name>
|
|
SMTP with CRLF-dot-CRLF in data
|
|
</name>
|
|
<stdin>
|
|
From: different
|
|
To: another
|
|
|
|
|
|
.
|
|
.
|
|
|
|
.
|
|
|
|
body
|
|
</stdin>
|
|
<command>
|
|
smtp://%HOSTIP:%SMTPPORT/1520
|
|
</command>
|
|
</client>
|
|
|
|
#
|
|
# Verify data after the test has been "shot"
|
|
<verify>
|
|
<protocol>
|
|
EHLO 1520
|
|
MAIL FROM:<sender@example.com>
|
|
RCPT TO:<recipient@example.com>
|
|
DATA
|
|
QUIT
|
|
</protocol>
|
|
<upload>
|
|
From: different
|
|
To: another
|
|
|
|
|
|
..
|
|
..
|
|
|
|
..
|
|
|
|
body
|
|
.
|
|
</upload>
|
|
</verify>
|
|
</testcase>
|