Skip to content

Fix URL parameters after middleware request cloning#4

Open
pawanrahul370-commits wants to merge 5 commits into
RoseMark45:mainfrom
pawanrahul370-commits:main
Open

Fix URL parameters after middleware request cloning#4
pawanrahul370-commits wants to merge 5 commits into
RoseMark45:mainfrom
pawanrahul370-commits:main

Conversation

@pawanrahul370-commits

Copy link
Copy Markdown

Fixes #1.

Summary:

  • Preserve the active route context when middleware clones a request with req.WithContext(...).
  • Add URL parameter/context handling for nested route groups.
  • Add regression coverage for request cloning and nested route middleware.

Validation:

  • go test ./...

/claim #1

@opirebot

opirebot Bot commented Jul 18, 2026

Copy link
Copy Markdown

😅 Unfortunately there are no rewards left to claim in this issue!

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

🎯 Fix URL Parameter Loss When Request Context is Replaced in Middleware After Routing

1 participant