Index: shorten.module
===================================================================
RCS file: /cvs/drupal-contrib/contributions/modules/shorten/shorten.module,v
retrieving revision 1.1
diff -u -p -r1.1 shorten.module
--- shorten.module	10 May 2009 19:54:38 -0000	1.1
+++ shorten.module	3 Mar 2010 12:49:05 -0000
@@ -95,6 +95,10 @@ function shorten_shorten($original = '',
     global $base_url;
     $original = $base_url . base_path() . $_GET['q'];
   }
+  //Add http:// if missing
+  if (strpos($original, "http://") !== 0 || strpos($original, "https://") !== 0) {
+    $original = 'http://' . $original; 
+  }
   if (!$service) {
     $service = variable_get('shorten_service', 'is.gd');
   }
@@ -344,4 +348,4 @@ function _shorten_service_form() {
       );
     }
   }
-}
\ No newline at end of file
+}
