The theme function theme_permalink_node() creates an incorrect and possibly unsafe link to http:// $_SERVER['HTTP_HOST']. The base path is not taken into consideration here. IMHO the theme function should use the global $base_url for the first part of the permalink.
Comments
Comment #1
todd nienkerk commentedAgreed.
The 6.x branch uses
url()instead of assembling the URL more or less manually. I'll see if I can backport it.Comment #2
todd nienkerk commentedHandy link: usage of
$base_urlin Drupal 5.x.Comment #3
todd nienkerk commentedFixed in 5.x-1.2.
Comment #4
todd nienkerk commented