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
1 changed files with 1 additions and 1 deletions

View File

@ -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;