Skip to content

Commit 551bd4b

Browse files
committed
debug fix
1 parent 90588bc commit 551bd4b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

internals/proxy/middlewares/template.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -195,7 +195,7 @@ func templateQuery(reqUrl *url.URL, VARIABLES interface{}) (string, map[string]i
195195

196196
reqRawQuery := modifiedQuery.Encode()
197197

198-
if reqUrl.RawQuery != reqRawQuery {
198+
if reqUrl.Query().Encode() != reqRawQuery {
199199
log.Debug("Applied Query Templating: ", templatedQuery)
200200

201201
modified = true

0 commit comments

Comments
 (0)