Skip to content

ftpserver.pl: fix newlines in 227/229 replies, adjust tests#19330

Closed
vszakats wants to merge 1 commit intocurl:masterfrom
vszakats:ftpslf
Closed

ftpserver.pl: fix newlines in 227/229 replies, adjust tests#19330
vszakats wants to merge 1 commit intocurl:masterfrom
vszakats:ftpslf

Conversation

@vszakats
Copy link
Member

@vszakats vszakats commented Nov 2, 2025

The test FTP server returned LF newlines for 227/229 replies, instead of
the CRLF used for the rest.

Test data added later were explicitly made to expect an LF in these
response lines.

After this patch the FTP server returns CRLF newlines, allowing
to delete this special case in test data.

Follow-up to 3bfff57
Follow-up to a7937ed


w/o sp https://github.com/curl/curl/pull/19330/files?w=1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Development

Successfully merging this pull request may close these issues.

1 participant