httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mar...@apache.org
Subject cvs commit: httpd-2.0/modules/proxy proxy_ftp.c
Date Mon, 04 Feb 2002 10:06:37 GMT
martin      02/02/04 02:06:37

  Modified:    modules/proxy proxy_ftp.c
  Log:
  React (in the dir lister) on the same globbing chars as used in the escaping routine
  
  Revision  Changes    Path
  1.108     +1 -1      httpd-2.0/modules/proxy/proxy_ftp.c
  
  Index: proxy_ftp.c
  ===================================================================
  RCS file: /home/cvs/httpd-2.0/modules/proxy/proxy_ftp.c,v
  retrieving revision 1.107
  retrieving revision 1.108
  diff -u -r1.107 -r1.108
  --- proxy_ftp.c	3 Feb 2002 17:18:18 -0000	1.107
  +++ proxy_ftp.c	4 Feb 2002 10:06:37 -0000	1.108
  @@ -367,7 +367,7 @@
               for (n=0; reldir[n] != '\0'; ++n) {
                   if (reldir[n] == '\\' && reldir[n+1] != '\0')
                       ++n; /* escaped character */
  -                else if (reldir[n] == '*' || reldir[n] == '?') {
  +                else if (strchr(FTP_GLOBBING_CHARS, reldir[n]) != NULL) {
                       wildcard = &reldir[1];
                       reldir[0] = '\0'; /* strip off the wildcard suffix */
                       break;
  
  
  

Mime
View raw message