allowable regex fixed

This commit is contained in:
Konstantin Gorynin
2026-02-20 13:03:48 +02:00
parent ea64e271c1
commit f6f1ea3ae5
+1 -1
View File
@@ -46,7 +46,7 @@ abstract class ValidationUtils {
r'(?:[A-Za-z]{2,63}|xn--[A-Za-z0-9-]{2,58}))'
r'(?:/[^ \t\r\n]*)?#h3$';
static const allowableStartRegex = r'^(tls:\/\/|https:\/\/|http:\/\/|quic:\/\/|h3:\/\/)';
static const allowableStartRegex = r'^(tls:\/\/|https:\/\/|http:\/\/|quic:\/\/|h3:\/\/|sdns:\/\/|)';
static String? getErrorString(
BuildContext context,