Prevent invalid characters from being used in XML. (#13181)

Patching issue of never returning XML, at the cost of "obfuscated" xml key
This commit is contained in:
Helcostr 2021-04-19 02:08:17 -07:00 committed by GitHub
parent 7b4b4240cb
commit 19ec9162c5
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -25,6 +25,7 @@ export function marshallUserData (userData) {
return js2xml.parse('user', userData, {
cdataInvalidChars: true,
replaceInvalidChars: true,
declaration: {
include: false,
},