compatibility (Python, C++, Go, ...): should newlines (and whitespace in general) in base64 be allowed? (for byte fields in JSON encoding)

39 views
Skip to first unread message

Nicolas Hillegeer

unread,
Jul 11, 2024, 4:51:27 AM (8 days ago) Jul 11
to Protocol Buffers
In the protocolbuffers-go we received a bug (https://github.com/golang/protobuf/issues/1626) for our protojson implementation not accepting strings with whitespace (specifically "\n" in this case) in them.

I think I verified that the C++ implementation also doesn't accept them (see my last comment on the issue). We prefer to stay compatible to C++ as much as possible. So the question is: should this be allowed?

Thanks,
Nicolas with the hat of Go protobuf maintainer


Nicolas Hillegeer

unread,
Jul 16, 2024, 2:20:13 AM (3 days ago) Jul 16
to Protocol Buffers
Ping.
Reply all
Reply to author
Forward
0 new messages