Closed wnortje closed 4 years ago
HI @stassats
Thanks for the quick fix. This unfortunately breaks Hunchentoot.
[2020-04-08 07:23:47 [ERROR]] While parsing multipart/form-data parameters: Input timeout on #<BASIC-TCP-STREAM ISO-8859-1 (SOCKET/7) #x302006658FCD>
I think the RFC requires a blank line after the header field and the closing delimiter.
------------4h1jHzjTkkvVWfn9AaeE7jOqSM0252bvHhZQryRhXedohriVq8
Content-Disposition: form-data; name="more"
------------4h1jHzjTkkvVWfn9AaeE7jOqSM0252bvHhZQryRhXedohriVq8--
This fixes it
((null value)
(crlf))
Right.
POST requests fail when
content-type
ismultipart/form-data
and one of the parameters have a nil value. This is a problem when you need to send one parameter with only a name and another which is a file because thenContent-Type: application/x-www-form-urlencoded
is not an option.This call
fails at
DRAKMA::MAKE-FORM-DATA-FUNCTION
with the condition