dtml-var url_quote fails with unicode strings

Bug #143273 reported by Simon Michael
0
Affects Status Importance Assigned to Milestone
Zope 2
Fix Released
Medium
Unassigned

Bug Description

eg: < dtml-var "u'Otto Kek\xe4l\xe4inen'" url_quote> gives

    * Module DocumentTemplate.DT_Var, line 338, in url_quote

UnicodeEncodeError: 'ascii' codec can't encode character u'\xe4' in position 8: ordinal not in range(128)

Tags: bug zope
Changed in zope2:
status: New → Confirmed
assignee: nobody → Jens Vagelpohl (dataflake)
Revision history for this message
Jens Vagelpohl (dataflake-deactivatedaccount-deactivatedaccount) wrote :

Fixed:

On the Zope 2.12 branch: http://svn.zope.org/?rev=114734&view=rev

On the DocumentTemplate trunk (for inclusion in Zope trunk): http://svn.zope.org/?rev=114735&view=rev

Changed in zope2:
status: Confirmed → Fix Committed
Changed in zope2:
milestone: none → 2.12.10
Revision history for this message
Simon Michael (simon) wrote :

Thanks!

Changed in zope2:
status: Fix Committed → Fix Released
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.