From f841e5d289655a11afedaa6a3f1893c316256580 Mon Sep 17 00:00:00 2001 From: Taylor Otwell Date: Thu, 16 Jun 2011 09:08:47 -0700 Subject: [PATCH] One more fix to URL slash handling! :) --- system/url.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/system/url.php b/system/url.php index afb5baf1..52fb6c71 100644 --- a/system/url.php +++ b/system/url.php @@ -31,7 +31,7 @@ public static function to($url = '', $https = false) $base = 'https://'.substr($base, 7); } - return rtrim($base, '/').'/'.ltrim($url, '/'); + return rtrim($base, '/').'/'.trim($url, '/'); } /**