]> git.ipfire.org Git - thirdparty/curl.git/commit
FTP: partly revert eeb7c1280742f5c8fa48a4340fc1e1a1a2c7075a
authorDaniel Stenberg <daniel@haxx.se>
Thu, 12 Sep 2024 06:15:14 +0000 (08:15 +0200)
committerDaniel Stenberg <daniel@haxx.se>
Sat, 14 Sep 2024 15:23:04 +0000 (17:23 +0200)
commit7eda757d99f43cb76cd4ef98acfec792d8a30e75
treee0f613894ee0af64fc3e2d27a909294af4676f1b
parent2b652b8634b4252b915ff4c7c00c60b33f2f3036
FTP: partly revert eeb7c1280742f5c8fa48a4340fc1e1a1a2c7075a

Since ASCII transfers on FTP means sending CRLF line endings, we should
still keep converting them to LF-only on platforms where text files
typically do not use CRLF.

This also DOES NOT convert existing CRLF line endings on ASCII uploads
but only does stand-alone LF => CRLF.

Regression from eeb7c1280742f5c8 shipped in 8.10.0

Reported-by: finkjsc on github
Fixes #14873
Closes #14875
lib/ftp.c
lib/sendf.c
lib/urldata.h
tests/FILEFORMAT.md
tests/data/test475
tests/data/test476
tests/runtests.pl