PerlDancer / Dancer2

Perl Dancer Next Generation (rewrite of Perl Dancer)
http://perldancer.org/
Other
543 stars 274 forks source link

serializer attempts to deserialize mutipart form data on post #1677

Closed emil-perhinschi closed 1 year ago

emil-perhinschi commented 1 year ago

If a serializer is set (JSON or Mutable) and a "multipart/form-data" request is sent the deserialization of the whole 'multipart' section of the request is attempted starting with and including the boundary.

A very basic Dancer2 app is included in the tar.gz archive, run the second test.

test_uploads.tar.gz

A quick solution in this pull request https://github.com/PerlDancer/Dancer2/pull/1678

cromedome commented 1 year ago

Thanks for the bug report! Please see my comments on #1678.

emil-perhinschi commented 1 year ago

"undefined" warnings solved