jmulford-bw / Java-V2-Messaging-SDK

0 stars 1 forks source link

Don't create XML with String concatenation #14

Open fuchsnj opened 5 years ago

fuchsnj commented 5 years ago

It's just asking for encoding issues. For example, what if someone sends a request with an XML tag in the payload? I doubt that will work right now. There are libraries to do this correctly for you. If you use Immutables you pretty much get this for free.