Attmept to fix issue with Stringy

This commit is contained in:
Timothy Warren 2024-01-17 08:32:48 -05:00
parent 3794ed20a8
commit 1dd9fdd0c2

View File

@ -65,7 +65,7 @@ abstract class RoutingBase
$cleanedPath = StringType::from($path)
->replace('%20', '')
->trim()
->trimRight('/')
->trimRight('\/')
->ensureLeft('/');
return (string) $cleanedPath;