Index: custom_breadcrumbs.module
===================================================================
RCS file: /cvs/drupal-contrib/contributions/modules/custom_breadcrumbs/custom_breadcrumbs.module,v
retrieving revision 1.6.2.5.2.22
diff -u -r1.6.2.5.2.22 custom_breadcrumbs.module
--- custom_breadcrumbs.module	13 Sep 2009 04:49:38 -0000	1.6.2.5.2.22
+++ custom_breadcrumbs.module	14 Sep 2009 18:34:35 -0000
@@ -358,6 +358,8 @@
 function _custom_breadcrumbs_create_crumb($title, $original_path) {
   // Decode title to properly handle special characters.
   $title = ($title == '<none>') ? ' ' : decode_entities($title);
+  // Collapse double slashes to one.
+  $original_path = preg_replace('/\/+/', '/', $original_path);
   list($identifier, $path) = explode("|", $original_path, 2);
   if (isset($path) && $path !== '') {
     $options = parse_url($path);
