Opened 10 years ago

Last modified 10 years ago

#499 accepted defect

Special characters need to be replaced by their predefined entity names

Reported by: sroth Owned by: stephanie.roth@snd.gu.se
Priority: major Milestone: DASISH client
Component: DASISH client Version: 1.0
Keywords: character entities Cc:

Description

A client POST request containing e.g. <headline>JQuery & AJAX</headline> leads to a backend error:

HTTP Status 400 - Bad Request
The request sent by the client was syntactically incorrect.

TODO: The client needs to be able to replace all special characters with their predefined entity names (e.g. & = &amp;). This is important for content contained within the <headline>-element but also the <xhtml:span>-element contained within the <body>-element. See also: http://en.wikipedia.org/wiki/List_of_XML_and_HTML_character_entity_references.

Change History (1)

comment:1 Changed 10 years ago by stephanie.roth@snd.gu.se

Owner: changed from sroth to stephanie.roth@snd.gu.se
Status: newaccepted
Note: See TracTickets for help on using tickets.