Votes
For: 0 (0%)
Against: 0 (0%)
Total: 0
November 8, 2008 08:59 PM
Marcel Gerrits
Hello, I have been debugging for hours why the bugdar system stopped working after changing status of a bug report. Every time I ended up with an XML error in framework/xml.php on line 151.
The cause of the problem I found to be an ampersand (&) sign in the display name of the user.
I could very easily reproduce the problem by putting an ampersand sign in the summary text (this also triggers the problem).
Suggested fix: replace all HTML entities before generating the XML file (eg with htmlentities() or html_entity_encode())
The cause of the problem I found to be an ampersand (&) sign in the display name of the user.
I could very easily reproduce the problem by putting an ampersand sign in the summary text (this also triggers the problem).
Suggested fix: replace all HTML entities before generating the XML file (eg with htmlentities() or html_entity_encode())