github vapor/vapor 2.3.0
Vapor 2.3.0

latest releases: 4.95.0, 4.94.1, 4.94.0...
6 years ago

Fixed:

  • Fixed an issue where Form-URLEncoded message bodies would ignore zero length strings.

⚠️ This release fixes incorrect behavior.

input:      a=b&c=&d (form-urlencoded message body)
incorrect:  ["a": "b", "d": true] 
>= 2.3.0:   ["a": "b", "c": "", "d": true] 

Due to the possibility that code could rely on this bug, we have released this bug fix as a minor version bump. Please ensure your code that uses form-urlencoded message bodies is not affected by this change.

Note: This does not affect form-urlencoded query strings. It only affects form-urlencoded data in the body of an HTTP message.

Milestone

Don't miss a new vapor release

NewReleases is sending notifications on new releases.