Skip to content

Commit

Permalink
Frontends should normalize to lowercase
Browse files Browse the repository at this point in the history
  • Loading branch information
solcloud authored Dec 2, 2021
1 parent 665cfab commit 8328978
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Doh.php
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ public function resolve(string $domain, int $type): ?string
return $this->dd("Blacklist hit", 2);
}
}
if (!preg_match('~^[-.a-z0-9A-Z]+$~', $domain)) {
if (!preg_match('~^[-.a-z0-9]+$~', $domain)) {
return $this->dd("Use ascii");
}

Expand Down

0 comments on commit 8328978

Please sign in to comment.