From e4bb526bfda6aef396b551fb14a09ab9b2cfae53 Mon Sep 17 00:00:00 2001 From: Sam Light Date: Wed, 10 Jun 2026 19:00:32 +0100 Subject: case insensitive path matching --- src/PathSegment.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/PathSegment.php b/src/PathSegment.php index 5333d17..9337fa1 100644 --- a/src/PathSegment.php +++ b/src/PathSegment.php @@ -46,7 +46,7 @@ class PathSegment PathSegmentType $type, ): string { return match ($type) { - PathSegmentType::Raw => $value ?? '', + PathSegmentType::Raw => strtolower($value ?? ''), PathSegmentType::Root => '', PathSegmentType::Parameter => '', }; -- cgit v1.2.3