Opened 20 years ago

Closed 20 years ago

#1040 closed defect (fixed)

The Named Character Reference '

Reported by: margottid@… Owned by: sdlime
Priority: high Milestone:
Component: MapServer CGI Version: 4.2
Severity: normal Keywords:
Cc:

Description

When I query a map with mapserv CGI, all apostrophes are substituted with 
character recerence "'", and this string appears on the query page 
created by mapserv.

In fatc, this is NOT a valid character reference for HTML, as you can see 
here: http://www.w3.org/TR/xhtml1/guidelines.html#C_16

----------------------------------------------------------------------------
C.16. The Named Character Reference '

The named character reference ' (the apostrophe, U+0027) was introduced 
in XML 1.0 but does not appear in HTML. Authors should therefore use ' 
instead of ' to work as expected in HTML 4 user agents.
----------------------------------------------------------------------------

The problem happens when I use Internet Explorer.
With, for example, Mozilla or Konqueror, the character reference is correctly 
interpreted.

Change History (1)

comment:1 by sdlime, 20 years ago

Resolution: fixed
Status: newclosed
Fix the substitution string in mapstring.c.

Steve
Note: See TracTickets for help on using tickets.