]> granicus.if.org Git - apache/commitdiff
Of course, more wildcard characters
authorMartin Kraemer <martin@apache.org>
Wed, 30 Jan 2002 15:14:39 +0000 (15:14 +0000)
committerMartin Kraemer <martin@apache.org>
Wed, 30 Jan 2002 15:14:39 +0000 (15:14 +0000)
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@93110 13f79535-47bb-0310-9956-ffa450edef68

modules/proxy/proxy_ftp.c

index 40a9fa2c45baf59d8912077fbc63331497900fc0..7f3ff03e4f7c1dfbcc84d1bc5c4e0a9c93a4b25c 100644 (file)
@@ -1419,7 +1419,7 @@ int ap_proxy_ftp_handler(request_rec *r, proxy_server_conf *conf,
     /* If len == 0 then it must be a directory (you can't RETR nothing)
      * Also, don't allow to RETR by wildcard. Instead, create a dirlisting
      */
-    if (len == 0 || strpbrk(path, "*?") != NULL) {
+    if (len == 0 || strpbrk(path, "*?[]") != NULL) {
         dirlisting = 1;
     }
     else {