alifeinbinary/freshbooks-php-library

Special characters not escaped in XML

GoogleCodeExporter opened this issue · 1 comments

What steps will reproduce the problem?

Enter special HTML characters (i.e < > & ) into any create/modify/listing and 
it will fail.

What is the expected output? What do you see instead?

For example, creating an item with the name Test& would result in the following 
XML:

<item>
<name>Test&</name>
</item>

When it should be:

<item>
<name>Test&amp;</name>
</item>

Original issue reported on code.google.com by xXBiohaz...@gmail.com on 1 Apr 2011 at 11:25

Original comment by xXBiohaz...@gmail.com on 14 Apr 2011 at 11:07

  • Changed state: Accepted