1
0
mirror of https://github.com/bitwarden/browser.git synced 2024-11-24 12:06:15 +01:00

dont toLower imported uris

This commit is contained in:
Kyle Spearrin 2019-05-23 20:03:58 -04:00
parent f76702bb44
commit dff634d25e

View File

@ -136,7 +136,7 @@ export abstract class BaseImporter {
if (uri == null) {
return null;
}
uri = uri.toLowerCase().trim();
uri = uri.trim();
if (uri.indexOf('://') === -1 && uri.indexOf('.') >= 0) {
uri = 'http://' + uri;
}