From 61d259f95045c2ec029d4234af80b00d91fec080 Mon Sep 17 00:00:00 2001 From: Daniel Stenberg Date: Fri, 12 Apr 2013 15:29:28 +0200 Subject: FTP: access files in root dir correctly Accessing a file with an absolute path in the root dir but with no directory specified was not handled correctly. This fix comes with four new test cases that verify it. Bug: http://curl.haxx.se/mail/lib-2013-04/0142.html Reported by: Sam Deane --- tests/data/test106 | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'tests/data/test106') diff --git a/tests/data/test106 b/tests/data/test106 index d1b9a81b9..56eca6420 100644 --- a/tests/data/test106 +++ b/tests/data/test106 @@ -39,7 +39,8 @@ FTP GET with type=A style ASCII URL using %20 codes USER anonymous PASS ftp@example.com PWD -CWD /path with spaces +CWD / +CWD path with spaces CWD and things2 EPSV TYPE A -- cgit v1.2.3