Skip to content

Commit 2fd7daa

Browse files
p0pr0ck5agentzh
authored andcommitted
bugfix: typo fix in C POST args handler debug log.
Signed-off-by: Yichun Zhang (agentzh) <agentzh@gmail.com>
1 parent fdbfdae commit 2fd7daa

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/ngx_http_lua_args.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -184,7 +184,7 @@ ngx_http_lua_ngx_req_get_post_args(lua_State *L)
184184

185185
if (r->request_body->temp_file) {
186186
lua_pushnil(L);
187-
lua_pushliteral(L, "requesty body in temp file not supported");
187+
lua_pushliteral(L, "request body in temp file not supported");
188188
return 2;
189189
}
190190

t/031-post-args.t

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -351,6 +351,6 @@ CORE::join("", @k);
351351
POST /lua
352352
a=3&b=4&c
353353
--- response_body
354-
requesty body in temp file not supported
354+
request body in temp file not supported
355355
--- no_error_log
356356
[error]

0 commit comments

Comments
 (0)