Update LinkAllowedHostValidator to validate wildcards correctly
>>> [!note] Migrated issue
<!-- Drupal.org comment -->
<!-- Migrated from issue #3200899. -->
Reported by: [norman.lol](https://www.drupal.org/user/2482808)
>>>
<p>Given allowed host <code>*.drupal.org</code> the following link <code>dev.drupal.org</code> must be allowed.</p>
issue