One more fix to URL slash handling! :)

This commit is contained in:
Taylor Otwell 2011-06-16 09:08:47 -07:00
parent 5ad4943edd
commit f841e5d289
1 changed files with 1 additions and 1 deletions

View File

@ -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, '/');
}
/**