diff --git a/src/Plugin/Linkit/Matcher/EntityMatcher.php b/src/Plugin/Linkit/Matcher/EntityMatcher.php index ec2894f..fa7e87f 100644 --- a/src/Plugin/Linkit/Matcher/EntityMatcher.php +++ b/src/Plugin/Linkit/Matcher/EntityMatcher.php @@ -545,7 +545,7 @@ class EntityMatcher extends ConfigurableMatcherBase { */ protected function findEntityIdByUrl($user_input) { $options = []; - if (UrlHelper::isExternal($user_input) && UrlHelper::isValid($user_input)) { + if (UrlHelper::isExternal($user_input) && UrlHelper::isValid($user_input, TRUE)) { if (UrlHelper::externalIsLocal($user_input, \Drupal::request()->getSchemeAndHttpHost())) { // The link points to this domain. Make it relative so it can be // matched in Url::fromUserInput().