From: Martin Kraemer Date: Wed, 30 Jan 2002 15:14:39 +0000 (+0000) Subject: Of course, more wildcard characters X-Git-Tag: 2.0.31~13 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=abf7e5464b52bc808b2efb0a3c68e8d06cc64954;p=apache Of course, more wildcard characters git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@93110 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/modules/proxy/proxy_ftp.c b/modules/proxy/proxy_ftp.c index 40a9fa2c45..7f3ff03e4f 100644 --- a/modules/proxy/proxy_ftp.c +++ b/modules/proxy/proxy_ftp.c @@ -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 {