We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f76aea9 commit b0fb243Copy full SHA for b0fb243
src/screens/Settings/ElectrumConfig/index.tsx
@@ -53,7 +53,7 @@ const isValidURL = (data: string): boolean => {
53
54
// Allow standard domains, custom TLDs like .local, and IPv4 addresses
55
const isValidDomainOrIP = !!url.hostname.match(
56
- /^([a-z\d]([a-z\d-]*[a-z\d])*\.[a-z\d-]+|(\d{1,3}\.){3}\d{1,3})$/i,
+ /^([a-z\d]([a-z\d-]*[a-z\d])*\.)+[a-z\d-]+|(\d{1,3}\.){3}\d{1,3}$/i,
57
);
58
59
// Always allow .local domains
0 commit comments