[openSRS-PHP-dev] Html characters in the command string
Brought to you by:
cviebrock
From: Chuck C. <ch...@so...> - 2001-10-02 22:22:52
|
Hello: I've been using the OpenSRS_base.php class for some time during the development of our domain registration system. Once we got into production, I noticed that the OpenSRS API would choke any time a user entered any html 'special' characters into one of our contact information fields. For example, if a user were to have an 'org_name' of 'Joe & Bob's Store', The XML encoder would translate the '&' character into '&'. I have solved this problem by stripping or replacing those characters that get incorrectly translated. However, I wanted to know if there are any other options. It would be nice if customer could have an '&' character in the mix. Chuckc |