Browse Source

One more fix to URL slash handling! :)

Taylor Otwell 14 years ago
parent
commit
f841e5d289
1 changed files with 1 additions and 1 deletions
  1. 1 1
      system/url.php

+ 1 - 1
system/url.php

@@ -31,7 +31,7 @@ class URL {
 			$base = 'https://'.substr($base, 7);
 		}
 
-		return rtrim($base, '/').'/'.ltrim($url, '/');
+		return rtrim($base, '/').'/'.trim($url, '/');
 	}
 
 	/**