Content Type for www-urlencoded should match additions like "; charset=utf8" as well
This commit is contained in:
parent
de4b0abeb9
commit
f35cea8c53
1 changed files with 1 additions and 1 deletions
|
@ -619,7 +619,7 @@ function parse_message_body( src, msg, filecb )
|
||||||
|
|
||||||
-- Is it application/x-www-form-urlencoded ?
|
-- Is it application/x-www-form-urlencoded ?
|
||||||
elseif msg.env.REQUEST_METHOD == "POST" and msg.env.CONTENT_TYPE and
|
elseif msg.env.REQUEST_METHOD == "POST" and msg.env.CONTENT_TYPE and
|
||||||
msg.env.CONTENT_TYPE == "application/x-www-form-urlencoded"
|
msg.env.CONTENT_TYPE:match("^application/x%-www%-form%-urlencoded")
|
||||||
then
|
then
|
||||||
return urldecode_message_body( src, msg, filecb )
|
return urldecode_message_body( src, msg, filecb )
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue