diff --git a/src/AnimeClient/RoutingBase.php b/src/AnimeClient/RoutingBase.php index e23cb81f..cbf7c467 100644 --- a/src/AnimeClient/RoutingBase.php +++ b/src/AnimeClient/RoutingBase.php @@ -65,7 +65,7 @@ abstract class RoutingBase $cleanedPath = StringType::from($path) ->replace('%20', '') ->trim() - ->trimRight('/') + ->trimRight('\/') ->ensureLeft('/'); return (string) $cleanedPath;