mirror of https://github.com/keeweb/keeweb.git
displaying websites as HTTPS if no scheme is provided
This commit is contained in:
parent
f4359fef92
commit
c216d785aa
|
@ -1,7 +1,7 @@
|
|||
const FieldViewText = require('./field-view-text');
|
||||
|
||||
const FieldViewUrl = FieldViewText.extend({
|
||||
displayUrlRegex: /^http:\/\//i,
|
||||
displayUrlRegex: /^https:\/\//i,
|
||||
cssClass: 'url',
|
||||
|
||||
renderValue(value) {
|
||||
|
@ -15,7 +15,7 @@ const FieldViewUrl = FieldViewText.extend({
|
|||
},
|
||||
|
||||
fixUrl(url) {
|
||||
return url.indexOf(':') < 0 ? 'http://' + url : url;
|
||||
return url.indexOf(':') < 0 ? 'https://' + url : url;
|
||||
},
|
||||
|
||||
displayUrl(url) {
|
||||
|
|
|
@ -9,6 +9,7 @@ Release notes
|
|||
`*` donation link changed
|
||||
`-` fixed field editing styles
|
||||
`*` dropped support for browsers without css variables
|
||||
`*` displaying websites as HTTPS if no scheme is provided
|
||||
|
||||
##### v1.9.3 (2019-09-07)
|
||||
`-` fixed group settings not being displayed
|
||||
|
|
Loading…
Reference in New Issue