Skip to content

fix(data_classes): support {proxy+} and path parameters in authorizer response#8092

Open
leandrodamascena wants to merge 1 commit intodevelopfrom
fix/7979-authorizer-proxy-plus-regex
Open

fix(data_classes): support {proxy+} and path parameters in authorizer response#8092
leandrodamascena wants to merge 1 commit intodevelopfrom
fix/7979-authorizer-proxy-plus-regex

Conversation

@leandrodamascena
Copy link
Copy Markdown
Contributor

Issue number: closes #7979

Summary

The path_regex in APIGatewayAuthorizerResponse was rejecting valid API Gateway resource paths that contain {, }, and + characters (e.g. /{proxy+}, /users/{user_id}).

Changes

Updated the regex from ^[/.a-zA-Z0-9-_\*]+$ to ^[/.a-zA-Z0-9\-_\*\{\}\+]+$.

User experience

Please share what the user experience looks like before and after this change


By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

Disclaimer: We value your time and bandwidth. As such, any pull requests created on non-triaged issues might not be successful.

@leandrodamascena leandrodamascena requested a review from a team as a code owner April 3, 2026 10:07
@boring-cyborg boring-cyborg bot added the tests label Apr 3, 2026
@powertools-for-aws-oss-automation powertools-for-aws-oss-automation bot added the size/M Denotes a PR that changes 30-99 lines, ignoring generated files. label Apr 3, 2026
@sonarqubecloud
Copy link
Copy Markdown

sonarqubecloud bot commented Apr 3, 2026

@codecov
Copy link
Copy Markdown

codecov bot commented Apr 3, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 96.63%. Comparing base (7323c05) to head (5ad6057).

Additional details and impacted files
@@           Coverage Diff            @@
##           develop    #8092   +/-   ##
========================================
  Coverage    96.63%   96.63%           
========================================
  Files          283      283           
  Lines        13862    13862           
  Branches      1111     1111           
========================================
  Hits         13395    13395           
  Misses         342      342           
  Partials       125      125           

☔ 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

Labels

size/M Denotes a PR that changes 30-99 lines, ignoring generated files. tests

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Bug: APIGatewayAuthorizerResponse allow_route do not support /{proxy+} resource

1 participant