Skip to main content

Hotfix - incorrect binary encoding in REST requests

· One min read
Robert Loipfinger
Circle Lead Platform @ ADITO
Tags:

Hotfix versions 2024.2.5.3, 2025.0.4.1 and 2025.1.0.1 of the ADITO Platform have been released.

What changed​

A bug in the handling of outgoing REST web service requests using the DATA_BINARY entity type not using multipart has been fixed. Since platform version 2024.2.0, the request body was erroneously Base64-encoded, even though the payload is expected to be in binary form. This additional encoding occurred regardless of the intended transmission format.

Why it matters​

External systems receiving such requests expected raw binary data (e.g., for application/pdf, application/octet-stream). The unintended Base64 encoding altered the content and led to processing errors or integration failures.

If you use DATA_BINARY in REST service calls without multipart encoding, and the receiving system expects raw binary payloads, you should apply this hotfix to ensure correct transmission behavior.