Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Allow colon in route after path param #2847

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
evanrolfe wants to merge 1 commit into labstack:master
base: master
Choose a base branch
Loading
from evanrolfe:allow_colon_in_route_after_param

Conversation

@evanrolfe
Copy link

@evanrolfe evanrolfe commented Dec 9, 2025

The current router implementation does not allow for colons in the route if they are immediately following a path parameter, this prevents us from following the Google API specification.

For example, I was unable to define a route which would match a URL like this: POST /files/1234:delete where 1234 should map to a :fileId path param. This PR fixes that.

Copy link

codecov bot commented Dec 9, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 94.04%. Comparing base (f24aaff) to head (8b6130a).
⚠️ Report is 20 commits behind head on master.

Additional details and impacted files
@@ Coverage Diff @@
## master #2847 +/- ##
==========================================
+ Coverage 93.25% 94.04% +0.79% 
==========================================
 Files 39 39 
 Lines 4652 3826 -826 
==========================================
- Hits 4338 3598 -740 
+ Misses 218 134 -84 
+ Partials 96 94 -2 

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

No reviews

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

AltStyle によって変換されたページ (->オリジナル) /