Skip to content

Commit b440687

Browse files
committed
fix
1 parent d10cc48 commit b440687

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

cache.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -157,7 +157,7 @@ func CacheByRequestURI(defaultCacheStore persist.CacheStore, defaultExpire time.
157157
}
158158

159159
func getRequestUriIgnoreQueryOrder(requestURI string) (string, error) {
160-
parsedUrl, err := url.ParseRequestURI("/test?id=123&name=yh&a=c")
160+
parsedUrl, err := url.ParseRequestURI(requestURI)
161161
if err != nil {
162162
return "", err
163163
}

0 commit comments

Comments
 (0)