diff options
author | Matthew Holt <mholt@users.noreply.github.com> | 2019-08-27 14:41:57 -0600 |
---|---|---|
committer | Matthew Holt <mholt@users.noreply.github.com> | 2019-08-27 14:41:57 -0600 |
commit | 9d8bff28c2ba0560d98b545c85ddc7504813dca7 (patch) | |
tree | eb3b8382602d66816b94c68457bf81c58ccdf5e4 | |
parent | d242f10eda8fdd52f86701cf3685090e9761489f (diff) |
oops, also update the Caddyfile's {query} var to use query_string
-rw-r--r-- | caddyconfig/httpcaddyfile/httptype.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/caddyconfig/httpcaddyfile/httptype.go b/caddyconfig/httpcaddyfile/httptype.go index ecf6e94..d183c7c 100644 --- a/caddyconfig/httpcaddyfile/httptype.go +++ b/caddyconfig/httpcaddyfile/httptype.go @@ -93,7 +93,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}", + "{query}", "{http.request.uri.query_string}", ) for _, segment := range sb.block.Segments { for i := 0; i < len(segment); i++ { |