From c98d7d8cf2ee5a82deca15f026e98bb5ff9f5f42 Mon Sep 17 00:00:00 2001 From: Stefan Sundin Date: Thu, 29 Apr 2021 07:59:29 -0700 Subject: [PATCH] Remove "file" from schemeSegment. This lets you add "file://*" as a site preference (before this would be corrected to "file://*/" and you had to use "file:///*" to get what you wanted). --- keepassxc-browser/common/global.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/keepassxc-browser/common/global.js b/keepassxc-browser/common/global.js index 7e82e02..7dbc2fe 100755 --- a/keepassxc-browser/common/global.js +++ b/keepassxc-browser/common/global.js @@ -12,7 +12,7 @@ const SORT_BY_USERNAME = 'sortByUsername'; const SORT_BY_GROUP_AND_TITLE = 'sortByGroupAndTitle'; const SORT_BY_GROUP_AND_USERNAME = 'sortByGroupAndUsername'; -const schemeSegment = '(\\*|http|https|ws|wss|file|ftp)'; +const schemeSegment = '(\\*|http|https|ws|wss|ftp)'; const hostSegment = '(\\*|(?:\\*\\.)?(?:[^/*]+))?'; const pathSegment = '(.*)';