feat: enforce urls to be https instead of http
This commit is contained in:
parent
e11f4f23ab
commit
2fe83fc18c
@ -16,7 +16,7 @@ public static class MiscUtils
|
||||
try
|
||||
{
|
||||
uri = new Uri(input);
|
||||
if (!uri.IsAbsoluteUri || uri.Scheme != "http" && uri.Scheme != "https")
|
||||
if (!uri.IsAbsoluteUri || uri.Scheme != "https")
|
||||
return false;
|
||||
}
|
||||
catch (UriFormatException)
|
||||
|
Loading…
Reference in New Issue
Block a user