Index: linkchecker.module
===================================================================
RCS file: /cvs/drupal-contrib/contributions/modules/linkchecker/linkchecker.module,v
retrieving revision 1.7.2.128
diff -u -r1.7.2.128 linkchecker.module
--- linkchecker.module	30 Aug 2009 14:31:37 -0000	1.7.2.128
+++ linkchecker.module	1 Sep 2009 18:17:43 -0000
@@ -872,6 +872,7 @@
  *    Array of full qualified and unique URLs found in content.
  */
 function _linkchecker_extract_links($text = '', $content_path = NULL) {
+  global $base_root;
 
   // Finds all hyperlinks in the content.
   $matches_a = array();
@@ -994,7 +995,7 @@
       // Absolute local URLs need to start with [/].
       if (preg_match('!^/!', $ret[$i])) {
         // Add to Array and change HTML encoded links into plain text links.
-        $links[] = decode_entities('http://'. $_SERVER['HTTP_HOST'] . $ret[$i]);
+        $links[] = decode_entities($base_root . '://' . $_SERVER['HTTP_HOST'] . $ret[$i]);
       }
       // Anchors and URL parameters like "#foo" and "?foo=bar".
       elseif (!empty($content_path) && preg_match('!^[?#]!', $ret[$i])) {
