Attmept to fix issue with Stringy
This commit is contained in:
parent
3794ed20a8
commit
1dd9fdd0c2
@ -65,7 +65,7 @@ abstract class RoutingBase
|
|||||||
$cleanedPath = StringType::from($path)
|
$cleanedPath = StringType::from($path)
|
||||||
->replace('%20', '')
|
->replace('%20', '')
|
||||||
->trim()
|
->trim()
|
||||||
->trimRight('/')
|
->trimRight('\/')
|
||||||
->ensureLeft('/');
|
->ensureLeft('/');
|
||||||
|
|
||||||
return (string) $cleanedPath;
|
return (string) $cleanedPath;
|
||||||
|
Loading…
Reference in New Issue
Block a user