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: Path concatenation issue for authentication requests in Envoy authentication mode #1709

Merged
merged 2 commits into from
Jan 23, 2025

Conversation

hanxiantao
Copy link
Collaborator

Ⅰ. Describe what this PR did

The original request URL is encoded, which causes issues with the concatenation of the authentication request path in Envoy authentication mode.

Ⅱ. Does this pull request fix one issue?

Ⅲ. Why don't you add test cases (unit test/integration test)?

Ⅳ. Describe how to verify it

原始请求:
image

认证服务获取的请求参数:
image

Ⅴ. Special notes for reviews

@codecov-commenter
Copy link

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 43.63%. Comparing base (ef31e09) to head (def0206).
Report is 282 commits behind head on main.

Additional details and impacted files

Impacted file tree graph

@@            Coverage Diff             @@
##             main    #1709      +/-   ##
==========================================
+ Coverage   35.91%   43.63%   +7.72%     
==========================================
  Files          69       76       +7     
  Lines       11576    12358     +782     
==========================================
+ Hits         4157     5393    +1236     
+ Misses       7104     6628     -476     
- Partials      315      337      +22     

see 70 files with indirect coverage changes

@hanxiantao hanxiantao requested a review from johnlanni January 23, 2025 07:46
Copy link
Collaborator

@johnlanni johnlanni left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@johnlanni johnlanni merged commit 574d1aa into alibaba:main Jan 23, 2025
1 of 8 checks passed
@hanxiantao hanxiantao deleted the ext-auth-envoy-mode-bugfix branch January 23, 2025 07:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants