]> granicus.if.org Git - curl/commit
FTP: handle "rubbish" in front of directory name in 257 responses
authorBill Middlecamp <Bill.Middlecamp@quantum.com>
Tue, 9 Apr 2013 20:18:33 +0000 (22:18 +0200)
committerDaniel Stenberg <daniel@haxx.se>
Tue, 9 Apr 2013 20:18:33 +0000 (22:18 +0200)
commite0fb2d86c9f789131588a7cc93e9e881d601cecd
tree837147a6b8390524d88b2ca4d602d085c25909e9
parent658ec97055456f739222aa2a5719a4d403ced99a
FTP: handle "rubbish" in front of directory name in 257 responses

When doing PWD, there's a 257 response which apparently some servers
prefix with a comment before the path instead of after it as is
otherwise the norm.

Failing to parse this, several otherwise legitimate use cases break.

Bug: http://curl.haxx.se/mail/lib-2013-04/0113.html
lib/ftp.c