Marked as critical since this affects all links being generated.
Thanks earnie, not sure why this was never exposed aside from we don't have tests that cover this.
Committed the patch to 7.x-2.x and 6.x-2.x:http://drupalcode.org/project/xmlsitemap.git/commit/b3fd11dhttp://drupalcode.org/project/xmlsitemap.git/commit/df457c2
Automatically closed -- issue fixed for 2 weeks with no activity.
This issue has no child issues.
Drupal is a registered trademark of Dries Buytaert.