Skip to content

Commit

Permalink
perf(converterfactory.php): include '.art' TLD in pattern matching fo…
Browse files Browse the repository at this point in the history
…r transitional processing
  • Loading branch information
AsifNawaz-cnic committed Jul 25, 2024
1 parent 981f52d commit 057d2bf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/IDNA/Factory/ConverterFactory.php
Original file line number Diff line number Diff line change
Expand Up @@ -142,6 +142,6 @@ public static function transitionalProcessing($keyword, $options = [])
return $options["transitionalProcessing"];
}

return mb_ereg("\./(be|ca|de|fr|pm|re|swiss|tf|wf|yt)\.?$/i", $options["domain"] ?? $keyword) !== false;
return mb_ereg("\./(art|be|ca|de|fr|pm|re|swiss|tf|wf|yt)\.?$/i", $options["domain"] ?? $keyword) !== false;
}
}

0 comments on commit 057d2bf

Please sign in to comment.