-
-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Closed
Description
The comment on line 54 of the chi.go file contains inaccurate information regarding route matching. It states:
// "/page/{other}/index" also matches "/page/intro/latest"
However, this is not accurate. The route /page/{other}/index expects a path component after /page/ followed by /index. It does not match paths like /page/intro/latest.
Proposed Correction:
Update the comment on line 54 to accurately reflect the behavior of the /page/{other}/index route. For example:
// "/page/{other}/index" matches "/page/some_value/index" but not "/page/intro/latest"
This correction will provide users with accurate information about the route's matching behavior.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels