mirror of
https://github.com/keepassxreboot/keepassxc-browser.git
synced 2026-03-11 08:54:43 +00:00
Allow file:// in site preferences.
This commit is contained in:
parent
dc3e680d1c
commit
57dfe26630
2 changed files with 2 additions and 2 deletions
|
|
@ -992,7 +992,7 @@
|
|||
"description": "Label for adding site manually on Site preferences tab."
|
||||
},
|
||||
"optionsSitePreferencesManualAddHelp": {
|
||||
"message": "The URL must start with either <code>https://</code>, <code>http://</code>, or <code>ftp://</code> and must be at least 10 characters long.",
|
||||
"message": "The URL must start with either <code>https://</code>, <code>http://</code>, <code>file://</code>, or <code>ftp://</code> and must be at least 10 characters long.",
|
||||
"description": "Help text for adding site manually on Site preferences tab."
|
||||
},
|
||||
"optionsSitePreferencesConfirmation": {
|
||||
|
|
|
|||
|
|
@ -541,7 +541,7 @@
|
|||
<div class="form-group">
|
||||
<label for="manualUrl" data-i18n="optionsSitePreferencesManualAddText"></label>
|
||||
<div class="input-group" id="manualUrlGroup">
|
||||
<input class="form-control form-control-sm col-lg-10" type="url" id="manualUrl" aria-label="Manual URL" pattern="ftp://.*|http://.*|https://.*" minlength="10" required>
|
||||
<input class="form-control form-control-sm col-lg-10" type="url" id="manualUrl" aria-label="Manual URL" pattern="file://.*|ftp://.*|http://.*|https://.*" minlength="10" required>
|
||||
<div class="input-group-append">
|
||||
<button class="btn btn-sm btn-primary" type="button" id="sitePreferencesManualAdd"><i class="fa fa-plus" aria-hidden="true"></i><span data-i18n="optionsButtonAdd"></span></button>
|
||||
</div>
|
||||
|
|
|
|||
Loading…
Reference in a new issue