xmidt-org / wrp-go

go implementation of the Web Routing Protocol
Apache License 2.0
4 stars 7 forks source link

wrp message should have UTF-8 strings #78

Closed kristinapathak closed 2 years ago

kristinapathak commented 2 years ago

The unit test added as a part of https://github.com/xmidt-org/wrp-go/pull/76 shows that an encoded msgpack can be decoded into a wrp message with non-UTF-8 string values. This is against the wrp spec, which requires UTF-8. On decoding or encoding, we should fix the wrp to be UTF-8.