DTML script submitting unicode to itself breaks

Bug #187923 reported by Brett Carter
4
Affects Status Importance Assigned to Milestone
Zope 2
Invalid
Low
Unassigned

Bug Description

Create the following dtml method, as index_html.

<div style="font-size: 600%">☠</div>
<form action=".">
<input type="string" name="x:utf8:ustring" /><br />
<input type="submit" name="submit" value="submit" />
</form>
<dtml-var x missing="" html_quote>

Submitting the form with any value causes the static skull 'n bones character to become corrupted.

 Zope Version

(Zope 2.9.8-final, python 2.4.1, linux2)
Python Version

2.4.1 (#2, Oct 18 2006, 20:58:01) [GCC 3.3.5 (Debian 1:3.3.5-13)]

I have default-zpublisher-encoding set to 'utf-8' and
management_page_charset set to UTF-8

Andreas Jung (ajung)
Changed in zope2:
importance: Undecided → Low
Changed in zope2:
status: New → Confirmed
Revision history for this message
Colin Watson (cjwatson) wrote :

The zope2 project on Launchpad has been archived at the request of the Zope developers (see https://answers.launchpad.net/launchpad/+question/683589 and https://answers.launchpad.net/launchpad/+question/685285). If this bug is still relevant, please refile it at https://github.com/zopefoundation/zope2.

Changed in zope2:
status: Confirmed → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.