You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
SparkPost SDK Cannot Escape Double Quotes In Sender Name #216
Error: {"error":"{"errors":[{"message":"content.from and content.name must sum to an even number of nested quote(s)","code":"1902"}]}","code":422,"body":{"errors":[{"message":"content.from and content.name must sum to an even number of nested quote(s)","code":"1902"}]}
Example code:
If $name contains double quote, we get the above error. As a user of the library, I believe SparkPost should be able to handle the below scenario and escape the name correctly because otherwise I need to dive into SDK code to confirm that my escaping method is compliant with the SDK.
Activity