mirror of
https://github.com/iterate-ch/cyberduck.git
synced 2026-05-26 19:10:49 +00:00
Allow wildcard match with characters '?'.
This commit is contained in:
+1
-1
@@ -320,7 +320,7 @@ public class OpenSshConfig {
|
||||
parent = directory;
|
||||
}
|
||||
// Include accepts the tokens %%, %C, %d, %h, %i, %j, %k, %L, %l, %n, %p, %r, and %u.
|
||||
if(StringUtils.containsAny(pattern, '*')) {
|
||||
if(StringUtils.containsAny(pattern, '*', '?')) {
|
||||
// Each pathname may contain glob(7) wildcards
|
||||
if(parent.isDirectory()) {
|
||||
log.debug("Resolve files in {} matching {}", parent, PathNormalizer.name(pattern));
|
||||
|
||||
Reference in New Issue
Block a user