From 03e1b472648152b16614d10fca3348031b4c2cbe Mon Sep 17 00:00:00 2001 From: pietervdvn Date: Mon, 18 Apr 2022 11:52:23 +0200 Subject: [PATCH] Fix #763 --- UI/Input/ValidatedTextField.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/UI/Input/ValidatedTextField.ts b/UI/Input/ValidatedTextField.ts index 874e830bce..5e8f21fbab 100644 --- a/UI/Input/ValidatedTextField.ts +++ b/UI/Input/ValidatedTextField.ts @@ -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 {