Skip to content

Commit 3ad9ff6

Browse files
StarlightIbukipintsized
authored andcommitted
Update lib/resty/http.lua
1 parent e22651c commit 3ad9ff6

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

lib/resty/http.lua

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -315,6 +315,7 @@ local function _format_request(self, params)
315315
if type(query) == "table" then
316316
query = ngx_encode_args(query)
317317
end
318+
318319
if query ~= "" and str_sub(query, 1, 1) ~= "?" then
319320
query = "?" .. query
320321
end

0 commit comments

Comments
 (0)