]> granicus.if.org Git - curl/commit
FTP: allow "rubbish" prepended to the SIZE response
authorDaniel Stenberg <daniel@haxx.se>
Thu, 12 Sep 2019 15:50:21 +0000 (17:50 +0200)
committerDaniel Stenberg <daniel@haxx.se>
Fri, 13 Sep 2019 12:21:00 +0000 (14:21 +0200)
commit65f5b958c95d538a9b205e2753a476d1a7c89179
treedc6894cf318ac173b56bfa62a708049d41feb36e
parentacf1d2acd17b194966be41e848ffd48b02ecef0c
FTP: allow "rubbish" prepended to the SIZE response

This is a protocol violation but apparently there are legacy proprietary
servers doing this.

Added test 336 and 337 to verify.

Reported-by: Philippe Marguinaud
Closes #4339
lib/ftp.c
tests/data/Makefile.inc
tests/data/test336 [new file with mode: 0644]
tests/data/test337 [new file with mode: 0644]