The UTF-8 base64 headers aren't correctly encoded (MIME), missing the "?=" characters, ending the encoded value. Seems to be a regression as previous versions had this encoded.
Should comply with RFC 2047 (https://tools.ietf.org/html/rfc2047)
Generally, an "encoded-word" is a sequence of printable ASCII
characters that begins with "=?", ends with "?=", and has two "?"s in
between. It specifies a character set and an encoding method, and
also includes the original text encoded as graphic ASCII characters,
according to the rules for that encoding method.
1) Set a givenName (for example) containing an accent in the datastore
2) Configure the new agent with default (or absent) "com.forgerock.agents.header.mime.encode" property
3) Display the givenName value returned by the agent
Expected result :
The encoded value ends with "?="
Current result :
Headers are base64 encoded but missing ending string "?="
(pure ASCII headers are working as intended)