diff --git a/keepassxc-browser/common/global.js b/keepassxc-browser/common/global.js index 7dbc2fe..9d92e89 100755 --- a/keepassxc-browser/common/global.js +++ b/keepassxc-browser/common/global.js @@ -64,6 +64,7 @@ const matchPatternToRegExp = function(pattern) { // special handling of file:// since there is no host if (pattern.startsWith('file://')) { let regex = '^'; + pattern = pattern.replace(/\./g, '\\.'); if (pattern.endsWith('*')) { regex += pattern.slice(0, -1); }