We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9a725fe commit 1ee727eCopy full SHA for 1ee727e
pkg/http/cache.go
@@ -110,9 +110,10 @@ func (h handler) getCacheKey(req *http.Request) string {
110
query := req.URL.Query()
111
keys := make([]string, 0, len(query))
112
for k := range query {
113
- if _, ok := h.cfg.HashQueryIgnore[k]; !ok {
114
- keys = append(keys, k)
+ if _, ok := h.cfg.HashQueryIgnore[strings.ToLower(k)]; ok {
+ continue
115
}
116
+ keys = append(keys, k)
117
118
sort.Strings(keys)
119
for _, key := range keys {
0 commit comments