[PR #32] Fix XML serialization of binary values #60

Closed
opened 2026-01-30 21:26:57 +00:00 by claunia · 0 comments
Owner

Original Pull Request: https://github.com/claunia/plist-cil/pull/32

State: closed
Merged: Yes


When serializing binary data to XML property lists, the base64 representation of the data is split across multiple lines, like this:

<data>
MjAxMy0wMi0wMiAyMDoxNjo0MiBHTVQ6IGhhbmRsZV9tZXNzYWdlOiBBbmQgeW91IHdp
bGwga25vdyBteSBuYW1lIGlzIHRoZSBMb3JkIHdoZW4gSSBsYXkgbXkgdmVuZ2VhbmNl
IHVwb24gdGhlZS4=
</data>

This PR makes plist-cil behave the same way.

**Original Pull Request:** https://github.com/claunia/plist-cil/pull/32 **State:** closed **Merged:** Yes --- When serializing binary data to XML property lists, the base64 representation of the data is split across multiple lines, like this: ```xml <data> MjAxMy0wMi0wMiAyMDoxNjo0MiBHTVQ6IGhhbmRsZV9tZXNzYWdlOiBBbmQgeW91IHdp bGwga25vdyBteSBuYW1lIGlzIHRoZSBMb3JkIHdoZW4gSSBsYXkgbXkgdmVuZ2VhbmNl IHVwb24gdGhlZS4= </data> ``` This PR makes plist-cil behave the same way.
claunia added the pull-request label 2026-01-30 21:26:57 +00:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: claunia/plist-cil#60