Open ccrighton opened 1 year ago
I ran into this problem, too, but with a form with email addresses. I fixed it in a similar manner. In that case, the parser did not have a complete name=value pair, but only sometimes as the email addresses I entered changed length.
When
content-type
isapplication/x-www-form-urlencode
d, the current implementation makes a single call to read:Unfortunately, this doesn't always read all
content-length
bytes. It's necessary to loop until all bytes are read e.g.I was posting a textarea with about 1400 bytes. It was only reading about 250.
Other parts of the implementation may need to be checked to ensure that no other similar issue is present.