summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorSam Light <sam@lightscale.co.uk>2026-06-10 19:00:32 +0100
committerSam Light <sam@lightscale.co.uk>2026-06-10 19:00:32 +0100
commite4bb526bfda6aef396b551fb14a09ab9b2cfae53 (patch)
treef7e2aa02b39eaa5a81984109f674394032a7939c /src
parentf71632bacf15cffc3c1a0f1d4673f04c9e8e3f55 (diff)
case insensitive path matching
Diffstat (limited to 'src')
-rw-r--r--src/PathSegment.php2
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>',
};