From 1dd9fdd0c209a689e20d9cffd3b592c2f18ee8e0 Mon Sep 17 00:00:00 2001 From: "Timothy J. Warren" Date: Wed, 17 Jan 2024 08:32:48 -0500 Subject: [PATCH] Attmept to fix issue with Stringy --- src/AnimeClient/RoutingBase.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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;