diff options
| author | Sam Light <sam@lightscale.co.uk> | 2026-06-10 19:00:32 +0100 |
|---|---|---|
| committer | Sam Light <sam@lightscale.co.uk> | 2026-06-10 19:00:32 +0100 |
| commit | e4bb526bfda6aef396b551fb14a09ab9b2cfae53 (patch) | |
| tree | f7e2aa02b39eaa5a81984109f674394032a7939c /src | |
| parent | f71632bacf15cffc3c1a0f1d4673f04c9e8e3f55 (diff) | |
case insensitive path matching
Diffstat (limited to 'src')
| -rw-r--r-- | src/PathSegment.php | 2 |
1 files changed, 1 insertions, 1 deletions
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 => '<root>', PathSegmentType::Parameter => '<parameter>', }; |
