-
Notifications
You must be signed in to change notification settings - Fork 4.9k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(proxy-cache): add ignore_uri_case to configuring cache-key uri t…
…o be handled as lowercase (#10453) * feat(proxy-cache): add cache_lowercase_uri param * feat(proxy-cache): adding test * feat(proxy-cache): updating CHANGELOG * renaming parameter to ignore_uri_case * feat(proxy-cache): add test case Co-Authored-By: sabertobihwy <71637422+sabertobihwy@users.noreply.github.com> * feat(proxy-cache): apply suggestions from code review Co-authored-by: Samuele Illuminati <samuele@konghq.com> * feat(proxy-cache): updating formatting * feat(proxy-cache): adding additional test to check cache-key when ignore_uri_case is set to false * feat(proxy-cache): adding to removed_fields for compability in hybrid mode * feat(proxy-cache): removing unused vars in test * feat(proxy-cache): removing comments in test * Update spec/03-plugins/31-proxy-cache/02-access_spec.lua --------- Co-authored-by: sabertobihwy <71637422+sabertobihwy@users.noreply.github.com> Co-authored-by: Samuele Illuminati <samuele@konghq.com>
- Loading branch information
1 parent
f62b329
commit 78d75b4
Showing
5 changed files
with
120 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -59,6 +59,9 @@ return { | |
[3003000000] = { | ||
acme = { | ||
"account_key", | ||
}, | ||
proxy_cache = { | ||
"ignore_uri_case", | ||
} | ||
}, | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
78d75b4
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Bazel Build
Docker image available
kong/kong:78d75b46754d58e48f1b5f6dd138e9ad4d7163de
Artifacts available https://github.com/Kong/kong/actions/runs/4426180199