ellenbrook / freshbooks-php-library

Automatically exported from code.google.com/p/freshbooks-php-library
0 stars 0 forks source link

Special characters not escaped in XML #8

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
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

GoogleCodeExporter commented 9 years ago

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