This commit is contained in:
pietervdvn 2022-04-18 11:52:23 +02:00
parent 6ad64e3f70
commit 03e1b47264

View file

@ -424,7 +424,7 @@ class UrlTextfieldDef extends TextFieldDef {
reformat(str: string): string {
try {
let url: URL
str = str.toLowerCase()
// str = str.toLowerCase() // URLS are case sensitive. Lowercasing them might break some URLS. See #763
if (!str.startsWith("http://") && !str.startsWith("https://") && !str.startsWith("http:")) {
url = new URL("https://" + str)
} else {