bad characters make the return XML broken
lenxu - April 15, 2009 - 10:51
| Project: | REST Server |
| Version: | 6.x-1.0 |
| Component: | Code |
| Category: | bug report |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | needs review |
Description
when make the node_get call to query a node with Chinese content, the return XML will be broken by the bad character. This bug exists in each function that returns response in XML format.

#1
I revised the line 119 in "rest_server.module"
// $value = htmlentities($value);
$value = htmlspecialchars($value);
#2
Moving to REST server's queue
#3
This it?