Certain characters in plan or item descriptions cause invalid XML

luke's Avatar

luke

20 Jan, 2010 03:44 PM

Good morning!

Quick bug report. I created an item today for testing purposes, and named the description "Spam & Eggs Breakfast". Teehee.
Anyway, when I did that, the XML that came back started being invalid, because CheddarGetter isn't escaping the & (it should be &).

I would postulate that CG needs to escape < and >, as well, but I didn't try them.

Regards,
Luke Sneeringer

  1. 1 Posted by luke on 20 Jan, 2010 03:46 PM

    luke's Avatar

    doh.

    That should read:
    "(it should be &amp;)"

    I wrote out the full thing, but it was coalesced into just the & symbol by the HTML display.

  2. Support Staff 2 Posted by Marc Guyer on 20 Jan, 2010 04:06 PM

    Marc Guyer's Avatar

    Luke -- You're right. There are a view user-defined values that need to be escaped. It's been on the todo list. We've just completed a patch that should take care of the last of the necessary escaping. We're running some regression tests now. Assuming that goes well, we'll release the patch today.

    Thanks for the report.

  3. Marc Guyer closed this discussion on 20 Jan, 2010 04:06 PM.

  4. Support Staff 3 Posted by Marc Guyer on 20 Jan, 2010 04:41 PM

    Marc Guyer's Avatar

    Released.

Discussions are closed to public comments.
If you need help with Cheddar please start a new discussion.

Keyboard shortcuts

Generic

? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac

Recent Discussions

28 Mar, 2024 10:45 PM
24 Jan, 2024 08:33 AM
11 Jan, 2024 07:13 AM
30 Nov, 2023 02:07 AM
22 Nov, 2023 08:41 AM