Skip to content

Fix recursion loop in decoding of a `SingleValueContainer`

Compare
Choose a tag to compare
@VaporBot VaporBot released this 13 Apr 15:37
· 16 commits to main since this release
1adfd69
This patch was authored by @dkolas and released by @0xTim.

Fixes an issue where the Decodable object is expecting a single part, but receives a set of keys causing the FormDataDecoder to get stuck in an infinite loop and eventually crash. This changes the behaviour to throw an error in this case