We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a09dc1e commit 5b2d0a8Copy full SHA for 5b2d0a8
src/Validator/Domain.php
@@ -23,7 +23,7 @@ public function passes($attribute, $value): bool
23
return true;
24
}
25
26
- return (bool) preg_match('/^(?:[a-z0-9](?:[a-z0-9-æøå]{0,61}[a-z0-9])?\.)+.[a-z0-9][a-z0-9-]{0,61}[a-z0-9]$/isu', $value);
+ return (bool) preg_match('/^(?:[a-z0-9](?:[a-z0-9-æøå]{0,61}[a-z0-9])?\.)+[a-z0-9][a-z0-9-]{0,61}[a-z0-9]$/isu', $value);
27
28
29
/**
0 commit comments