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
fix: block open redirect via literal backslash and double slashes in nginx (#2356)
## Summary
- The previous `%5C` check is bypassed because CloudFront decodes `%5C`
to literal `\` before forwarding to nginx, so `$request_uri` never
contains `%5C`
- This PR adds nginx rules to also block literal backslashes and
multiple leading slashes in request URIs
- Tests use `curl --request-target` to simulate exactly what CDNs
forward to nginx
Fixesapify/apify-core#26551
🤖 Generated with [Claude Code](https://claude.com/claude-code)
---------
Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
0 commit comments