
wrowe at apache
Jun 8, 2009, 1:25 PM
Post #1 of 1
(202 views)
Permalink
|
|
svn commit: r782768 - in /httpd/mod_ftp/trunk: STATUS-FTP modules/ftp/ftp_util.c
|
|
Author: wrowe Date: Mon Jun 8 20:25:09 2009 New Revision: 782768 URL: http://svn.apache.org/viewvc?rev=782768&view=rev Log: Drop APR_FNM_PERIOD matching, officially, for this next release. Modified: httpd/mod_ftp/trunk/STATUS-FTP httpd/mod_ftp/trunk/modules/ftp/ftp_util.c Modified: httpd/mod_ftp/trunk/STATUS-FTP URL: http://svn.apache.org/viewvc/httpd/mod_ftp/trunk/STATUS-FTP?rev=782768&r1=782767&r2=782768&view=diff ============================================================================== --- httpd/mod_ftp/trunk/STATUS-FTP (original) +++ httpd/mod_ftp/trunk/STATUS-FTP Mon Jun 8 20:25:09 2009 @@ -95,6 +95,11 @@ should be added as a seperate authz provider, or refactored to the new auth syntax (or simply dropped?) + * dot-files (E.g. ".filename") are always shown, while "." this-dir and + ".." (parent directory) are never shown. Additional LIST/NLST options + are necessary before these are hidden by default, which implies a + fairly significant refactoring. + REFERENCES: Modified: httpd/mod_ftp/trunk/modules/ftp/ftp_util.c URL: http://svn.apache.org/viewvc/httpd/mod_ftp/trunk/modules/ftp/ftp_util.c?rev=782768&r1=782767&r2=782768&view=diff ============================================================================== --- httpd/mod_ftp/trunk/modules/ftp/ftp_util.c (original) +++ httpd/mod_ftp/trunk/modules/ftp/ftp_util.c Mon Jun 8 20:25:09 2009 @@ -182,7 +182,7 @@ #endif if (pattern && *pattern && - (apr_fnmatch(pattern, name, APR_FNM_PATHNAME | APR_FNM_PERIOD) != APR_SUCCESS)) { + (apr_fnmatch(pattern, name, APR_FNM_PATHNAME) != APR_SUCCESS)) { #ifdef FTP_DEBUG ap_log_rerror(APLOG_MARK, APLOG_DEBUG, 0, r, "no match"); #endif
|