javascript - Salesforce API insert adds special characters -


i using salesforce php toolkit in order insert values of javascript functions (just in order document functions using, not execution in salesforce) inside custom object have.

in php function saving string like:

(function(d,f){var b={src:(d.location.protocol=="https:"?"https:":"http:")... 

after insert string using sf api, result see in field is:

(function(d,f){var b={src:(d.location.protocol=="https:"?"... 

as can see, salesforce has added special characters string. haven't found anyway pass that.

any idea's?

the solution remove htmlspecialchars string. didn't think sf accept string without because not echo string without (due special characters in string). seems pass parameter without issue. i'd happy understand if understands.


Comments

Popular posts from this blog

Payment information shows nothing in one page checkout page magento -

tcpdump - How to check if server received packet (acknowledged) -