fix(route-rules): reject out-of-scope requests#4223
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
|
Important Review skippedAuto reviews are disabled on base/target branches other than the default branch. Please check the settings in the CodeRabbit UI or the ⚙️ Run configurationConfiguration used: Organization UI Review profile: CHILL Plan: Pro Run ID: You can disable this status message by setting the Use the checkbox below for a quick retry:
✨ Finishing Touches🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
Mirrors the scope check added for proxy rules. An encoded traversal like `..%2f` bypasses the `/**` scope at match time but can escape the base once the redirect target decodes `%2f` → `/`, letting a victim's browser reach a sibling scope on the redirect host.
commit: |
Backport of #4222 to v2