kennym / cf7-to-api

LOOKING FOR MAINTAINER. Wordpress plugin to transmit contact form 7 entries to remote API using POST or GET
https://wordpress.org/plugins/cf7-to-api-basic-auth/
52 stars 30 forks source link

Plugin error send json option #5

Closed antgago closed 4 years ago

antgago commented 5 years ago

The plugin fails when you send double quote and backslash () in the contact form fields and you select the json option at the input type field of the API Integration plugin. I think that the problem is that those characters are reserved in JSON and must be properly escaped to be used in strings.

kennym commented 5 years ago

I currently cannot fix these issues, but I'm happy to accept a PR and deploy those changes.