Bugs item #1364835, was opened at 2005-11-23 12:07
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=100976&aid=1364835&group_id=976
Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: None
Group: None
Status: Open
Resolution: None
Priority: 5
Submitted By: Tom Wood (woodts)
Assigned to: Nobody/Anonymous (nobody)
Summary: curl drops end of URL if URL references a directory
Initial Comment:
curl-7.13.1-3 in Fedora Core 4, possibly elsewhere,
doesn't properly handle the end of the URL when the URL
ends with a directory not terminated with a "/".
For example,
given that ftp://whatever/wherever/blah is a directory,
curl -l -s --disable-epsv ftp://whatever/wherever/blah
returns the directory contents of
ftp://whatever/wherever, not the contents of the
ftp://whatever/wherever/blah directory. In fact,
substitute anything for blah, even something that does
not exist, and you get the same result as above. You
have to add a trailing "/" to get the directory listing
of the desired directory.
Please note that the command switches -s and
--disable-epsv may not be part of the problem here.
I've included them for completeness in that they're
part of my test case and may have an impact.
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=100976&aid=1364835&group_id=976
Received on 2005-11-23