Merge branch 'master' into feat/epp-protocol

This commit is contained in:
Maël Gangloff
2025-03-23 16:10:58 +01:00
2 changed files with 2 additions and 2 deletions

View File

@@ -173,7 +173,7 @@ readonly class RDAPService
private function getTld(string $domain): Tld
{
if (!str_contains($domain, '.')) {
$tldEntity = $this->tldRepository->findOneBy(['tld' => '']);
$tldEntity = $this->tldRepository->findOneBy(['tld' => '.']);
if (null == $tldEntity) {
throw new NotFoundHttpException("The requested TLD $domain is not yet supported, please try again with another one");