You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@httpd.apache.org by wr...@apache.org on 2007/10/03 00:55:39 UTC
svn commit: r581424 - /httpd/mod_ftp/trunk/modules/ftp/ftp_commands.c
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,