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

Double quotation marks in field breaks api call #28

Closed bugraceylan closed 3 years ago

bugraceylan commented 3 years ago

Any field containing double quotation marks breaks the api call, tried with 1.4.6, anyone having this issue? JSON Post is the method.

bugraceylan commented 3 years ago

adding $value = str_replace('"', ' ', $value); fixed my issue

kennym commented 3 years ago

I cannot provide support for your issue. Thanks for understanding. PRs are welcomed.

bugraceylan commented 3 years ago

Hi @kennym , PR 29 were containing the related fix, thanks!