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

fix(clustering): hybrid mode should accept special characters used in forward proxy password #13457

Merged
merged 4 commits into from
Aug 13, 2024

Conversation

ms2008
Copy link
Contributor

@ms2008 ms2008 commented Aug 6, 2024

Summary

Hybrid mode connections not working if the forward proxy password contains special character(#). Even after the proxy_server is url encoded, it still doesn't work and reports a "407 Proxy Authentication Required" error.

This fix tries to address this issue. But, keep in mind that even with this fix, proxy_server still needs to be url-encoded.

Checklist

  • The Pull Request has tests
  • A changelog file has been created under changelog/unreleased/kong or skip-changelog label added on PR if changelog is unnecessary. README.md
  • There is a user-facing docs PR against https://github.com/Kong/docs.konghq.com - PUT DOCS PR HERE

Issue reference

Fix FTI-6145

@github-actions github-actions bot added core/clustering cherry-pick kong-ee schedule this PR for cherry-picking to kong/kong-ee labels Aug 6, 2024
@pull-request-size pull-request-size bot added size/S and removed size/XS labels Aug 6, 2024
@ms2008 ms2008 marked this pull request as ready for review August 6, 2024 08:38
@pull-request-size pull-request-size bot added size/M and removed size/S labels Aug 12, 2024
@ms2008 ms2008 merged commit 2c4b98b into master Aug 13, 2024
33 checks passed
@ms2008 ms2008 deleted the fix/hybrid-forward-proxy-escape-userinfo branch August 13, 2024 04:23
@team-gateway-bot
Copy link
Collaborator

Successfully created cherry-pick PR for master:

oowl pushed a commit that referenced this pull request Aug 15, 2024
… forward proxy password (#13457)

Hybrid mode connections not working if the forward proxy password contains
special character(`#`). Even after the `proxy_server` is url encoded, it still
doesn't work and reports a "407 Proxy Authentication Required" error.

This fix tries to address this issue. But, keep in mind that even with this fix,
`proxy_server` still needs to be url-encoded.

(cherry picked from commit 2c4b98b)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cherry-pick kong-ee schedule this PR for cherry-picking to kong/kong-ee core/clustering size/M
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants