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.
This commit is contained in:
Matthew Holt
2020-01-10 17:02:11 -07:00
parent d418e319ab
commit 2eda21ec6d
4 changed files with 2 additions and 9 deletions
+1 -1
View File
@@ -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++ {