httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From wr...@apache.org
Subject svn commit: r581424 - /httpd/mod_ftp/trunk/modules/ftp/ftp_commands.c
Date Tue, 02 Oct 2007 22:55:39 GMT
Author: wrowe
Date: Tue Oct  2 15:55:39 2007
New Revision: 581424

URL: http://svn.apache.org/viewvc?rev=581424&view=rev
Log:
Correct syntax of EPRT (arbitrary delimiters) and parsing of EPSV (FTP_TAKE0 allowed)

Modified:
    httpd/mod_ftp/trunk/modules/ftp/ftp_commands.c

Modified: httpd/mod_ftp/trunk/modules/ftp/ftp_commands.c
URL: http://svn.apache.org/viewvc/httpd/mod_ftp/trunk/modules/ftp/ftp_commands.c?rev=581424&r1=581423&r2=581424&view=diff
==============================================================================
--- httpd/mod_ftp/trunk/modules/ftp/ftp_commands.c (original)
+++ httpd/mod_ftp/trunk/modules/ftp/ftp_commands.c Tue Oct  2 15:55:39 2007
@@ -2552,10 +2552,10 @@
 
     ftp_hook_cmd("EPRT", NULL, FTP_HOOK_LAST,
                  FTP_NEED_LOGIN|FTP_TAKE1,
-                 "<sp> |af|addr|port|");
+                 "<sp> <d>af<d>addr<d>port<d>");
 
     ftp_hook_cmd("EPSV", NULL, FTP_HOOK_LAST, 
-                 FTP_NEED_LOGIN|FTP_TAKE1,
+                 FTP_NEED_LOGIN|FTP_TAKE0|FTP_TAKE1,
                  "[ <sp> af|ALL ]");
 
     ftp_hook_cmd("FEAT", ftp_cmd_feat, FTP_HOOK_LAST,



Mime
View raw message