mirror of
https://github.com/laravel/laravel.git
synced 2025-02-20 11:53:14 +08:00
One more fix to URL slash handling! :)
This commit is contained in:
parent
5ad4943edd
commit
f841e5d289
@ -31,7 +31,7 @@ class URL {
|
||||
$base = 'https://'.substr($base, 7);
|
||||
}
|
||||
|
||||
return rtrim($base, '/').'/'.ltrim($url, '/');
|
||||
return rtrim($base, '/').'/'.trim($url, '/');
|
||||
}
|
||||
|
||||
/**
|
||||
|
Loading…
x
Reference in New Issue
Block a user