- Issue created by @eduardo morales alberti
- 🇪🇸Spain eduardo morales alberti Spain, 🇪🇺
Schema is mandatory on links if they are external.
External url is treated as internal when does not have schema:
\Drupal\entity_mesh\Target::setIfExternalOrInternal
// This is internal because the relative path has not defined schema.
if (empty($href_components['scheme'])) {
$this->setLinkType('internal');
return;
}
Set an external URL without schema (http or https) on a content and then launch entity_mesh, review if is checked as internal link and broken link.
Active
1.0
Code
Schema is mandatory on links if they are external.