Hello, guest. We have noticed that you are not registered at this bug tracker. Your experience will be greatly enhanced if you log in. To do so, you first must register by clicking on the Register tab at the top. If you are already registered, you can login at the Login tab.
Syndicate Syndicate Listing Display Search Login/Register
Bug Id ?
Reporter ?
Marcel Gerrits
Bugdar / 1.2.2
Status ?
Severity ?
Duplicate Of ?
- none -
Fixed in Revision ?
Mstone ?
Summary ?
System fails when display name contains ampersand
Report Time ?
November 8, 2008 07:59 PM
Assignment ?
Resolution ?
Priority ?
Dependencies ?
- none -
Mstone (old) ?

For: 0 (0%)
Against: 0 (0%)
Total: 0

November 8, 2008 07: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())