aboutsummaryrefslogtreecommitdiff
path: root/common
diff options
context:
space:
mode:
Diffstat (limited to 'common')
-rw-r--r--common/fs.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/common/fs.cpp b/common/fs.cpp
index fac4dae733..12f0ea98ef 100644
--- a/common/fs.cpp
+++ b/common/fs.cpp
@@ -314,6 +314,8 @@ int FSDirectory::listMatchingMembers(ArchiveMemberList &list, const String &patt
// Cache dir data
ensureCached();
+ // need to match lowercase key, since all entries in our file cache are
+ // stored as lowercase.
String lowercasePattern(pattern);
lowercasePattern.toLowercase();