AnsweredAssumed Answered

PHP API breaks with special characters?

Question asked by CarlSchwarz on Mar 3, 2014
Latest reply on Apr 16, 2015 by databuzz

Our PHP API based site broke with no changes to the code! So I debugged and found that special characters break the API. There is *nothing* in the server logs when the error occurs.


For example if I press control-s (on windows) and add the special double exclaimation mark character into a field then the PHP site returns:

XML error: Invalid character at line 1


When I delete the special character then the PHP API is working fine again.


Is there a workaround to this besides trying to caputre and remove every special character from every field?


Thanks for any advice.