The internal links could be replaced with absolute links (base_path() . 'node/x')... and if http://drupal.org/project/pathfilter module is installed with internal:node/x and if http://drupal.org/project/pathologic is installed without a base_path(). And not to forget other URL filter modules like markdown. Not sure if there are other modules we need to care about or what to do with #465414: Relative links extracted incorrectly. Many dependencies need to be considered...

Comments

hass’s picture

hass’s picture

Title: Auto-update could prefix urls/integrate with other modules » Auto-update could prefix urls and integrate with other modules
hass’s picture

Status: Active » Postponed

Need to make sure that local links are only changed to the path filter urls in content where check_markup() runs on (for e.g. $node->body, $node->teaser, $comment['comment'], $box['body']).

hass’s picture

Status: Postponed » Closed (won't fix)

This feature is now implemented in pathfilter, see #148300: [Push #1]: Automatic url conversion to internal links. If pathologic follows - it would be great.