Commit 77331efc authored by Taylor Otwell's avatar Taylor Otwell

Fix slash bug in url class.

parent 095c2362
......@@ -25,7 +25,7 @@ class URL {
$base = ($https and strpos($base, 'http://') === 0) ? 'https://'.substr($base, 7) : $base;
return $base.'/'.ltrim($url, '/');
return rtrim($base, '/').'/'.ltrim($url, '/');
}
/**
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment