etr / libhttpserver

C++ library for creating an embedded Rest HTTP server (and more)
GNU Lesser General Public License v2.1
882 stars 184 forks source link

Fix post processor breaking large fields in multiple parts. #337

Closed etr closed 2 months ago

etr commented 2 months ago

Identify the Bug

The post processor was breaking up large post fields into multiple values as if provided separately.

Description of the Change

Now the post processor checks for the offset value. If there is an offset, the value must be a part of a large post field and not an independent repeated value. In this case, we just append to the latest value for the specified argument.

Alternate Designs

None

Possible Drawbacks

None

Verification Process

Added new integration tests.

Release Notes

Fixed the post processor that was breaking up large post fields into multiple values as if provided separately.