--- custom_breadcrumbs.module	2009-09-28 20:24:41.000000000 +0200
+++ custom_breadcrumbs_MATT.module	2009-11-06 15:09:37.000000000 +0100
@@ -385,25 +385,29 @@ function _custom_breadcrumbs_create_crum
   list($identifier, $path) = explode("|", $original_path, 2);
   if (isset($path) && $path !== '') {
     $options = parse_url($path);
+    //Removes a leading slash if present in the path
+    $relative_path = strcmp(substr($options['path'],0,1), "/") ? $options['path'] : substr($options['path'],1);
     switch ($identifier) {
       case '<pathauto>':
         if (module_exists('pathauto')) {
           module_load_include('inc', 'pathauto', 'pathauto');
-          $crumb = l($title, pathauto_cleanstring($options['path'], FALSE), $options);
+          $crumb = l($title, pathauto_cleanstring($relative_path, FALSE), $options);
         }
         break;
       default:
-        $crumb = l($title, $options['path'], $options);
+        $crumb = l($title, $relative_path, $options);
     }
   }
   else { // This may be just be a single identifier.
     $options = parse_url($original_path);
+    //Removes a leading slash if present in the path
+    $relative_path = strcmp(substr($options['path'],0,1), "/") ? $options['path'] : substr($options['path'],1);
     switch ($identifier) {
       case '<none>':
         $crumb = check_plain($title);
         break;
       default:
-        $crumb = l($title, $options['path'], $options);
+        $crumb = l($title, $relative_path, $options);
     }
   }
   return $crumb;
