Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

envoy: unescape and redirect if path contains escaped values #4966

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

wasaga
Copy link
Contributor

@wasaga wasaga commented Feb 26, 2024

Summary

In order to disambiguate path evaluation, make sure it is RFC3986 compliant, by unescaping and redirecting an incoming request that contains escaped slashes.

Related issues

Related: https://github.com/pomerium/internal/issues/1733

User Explanation

Checklist

  • reference any related issues
  • updated docs
  • updated unit tests
  • updated UPGRADING.md
  • add appropriate tag (improvement / bug / etc)
  • ready for review

@wasaga wasaga requested a review from a team as a code owner February 26, 2024 20:52
@wasaga wasaga added the enhancement New feature or request label Feb 26, 2024
@coveralls
Copy link

Coverage Status

coverage: 60.364% (-0.01%) from 60.374%
when pulling e020217 on wasaga/escaped-slashes-unescape-and-redirect
into b6c100d on main.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants