SalesforceCommerceCloud / b2c-crm-sync

... a contemporary perspective on how to integrate B2C Commerce and the Salesforce Customer 360 Platform to power frictionless customer experiences in the B2C domain.
https://salesforcecommercecloud.github.io/b2c-crm-sync/
BSD 3-Clause "New" or "Revised" License
65 stars 45 forks source link

wrap password in cdata to avoid XML encoding errors #141

Closed clavery closed 2 years ago

clavery commented 2 years ago

It's not uncommon for the client secret to contain invalid XML chars (for instance '&' or '<'). This results in an ugly error and failed deploy.

CDATA in this element ensures the interpolated values are treated as character data and not XML.

jbachelet commented 2 years ago

Thank you for your PR, awesome!