Skip to content

Fix: Privilege match must be case insensitive.#323

Merged
ZhidongPeng merged 3 commits into
Azure:devfrom
ZhidongPeng:dev
Feb 20, 2026
Merged

Fix: Privilege match must be case insensitive.#323
ZhidongPeng merged 3 commits into
Azure:devfrom
ZhidongPeng:dev

Conversation

@ZhidongPeng

Copy link
Copy Markdown
Collaborator
  • Fix Privilege path match case insensitive issue
  • Updated UT to verify the path case insensitive match.
  • Optimize: store lowercased versions of path, query parameter keys, and query parameter values in ComputedAuthorizationItem at construction time
  • Optimize: lowercase the request URL path once before iterating over privileges

Comment thread proxy_agent/src/key_keeper/key.rs

@bingyuyin bingyuyin left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

approve with sugguestion

@ZhidongPeng ZhidongPeng merged commit a6b97a2 into Azure:dev Feb 20, 2026
12 checks passed
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.

2 participants