You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Bug: include_router with a prefix ending in "/" registers "/p//x" and returns 404 #8944
When the rule starts with /, strip the trailing / from the prefix before joining. Rules without a leading slash (e.g. prefix="/users/" with <user_id>) keep working as today. File: aws_lambda_powertools/event_handler/api_gateway.py, include_router.
Steps to Reproduce
Run the snippet above on current develop.
I used Claude Code to help write this change; I reviewed and tested it myself.
Thanks for opening your first issue here! We'll come back to you as soon as we can.
In the meantime, check out the #python channel on our Powertools for AWS Lambda Discord: Invite link
powertools-for-aws-oss-automation commented on Dec 2, 2026
Thanks for opening your first issue here! We'll come back to you as soon as we can.
In the meantime, check out our GitHub Discussions: Join the conversation
Activity
boring-cyborg commentedon Dec 2, 2026
Thanks for opening your first issue here! We'll come back to you as soon as we can.
In the meantime, check out the #python channel on our Powertools for AWS Lambda Discord: Invite link
powertools-for-aws-oss-automation commentedon Dec 2, 2026
Thanks for opening your first issue here! We'll come back to you as soon as we can.
In the meantime, check out our GitHub Discussions: Join the conversation