From 2eda21ec6d44fa2f57e72ef0f02ea29c902d871d Mon Sep 17 00:00:00 2001 From: Matthew Holt Date: Fri, 10 Jan 2020 17:02:11 -0700 Subject: http: Remove {...query_string} placeholder, in favor of {...query} I am not sure if the query_string one is necessary or useful yet. We can always add it later if needed. --- caddyconfig/httpcaddyfile/httptype.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'caddyconfig/httpcaddyfile') diff --git a/caddyconfig/httpcaddyfile/httptype.go b/caddyconfig/httpcaddyfile/httptype.go index 33a37d3..bec5045 100644 --- a/caddyconfig/httpcaddyfile/httptype.go +++ b/caddyconfig/httpcaddyfile/httptype.go @@ -101,7 +101,7 @@ func (st ServerType) Setup(originalServerBlocks []caddyfile.ServerBlock, "{scheme}", "{http.request.scheme}", "{file}", "{http.request.uri.path.file}", "{dir}", "{http.request.uri.path.dir}", - "{query}", "{http.request.uri.query_string}", + "{query}", "{http.request.uri.query}", ) for _, segment := range sb.block.Segments { for i := 0; i < len(segment); i++ { -- cgit v1.2.3