Can't customize portal_skins/plone_templates/rss_template TTW
Bug #151312 reported by
Encolpe Degoute
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Plone |
Fix Released
|
Unknown
|
|||
Zope 2 |
Fix Released
|
Medium
|
Andreas Jung |
Bug Description
First, it comes from this bug report on Plone:
https:/
Investigating around this I found a bug in PageTemplate in Zope 2.10:
In PageTemplate/
content_type variable is supposed to be like 'app/type' but with XML template like RSS feed content_type is like 'text/xml;
'''content_type in ('text/xml',)''' is always False with such a content_type.
In PageTemplate/utils, convertToUnicode function always test content type with '''content_
Changed in zope2: | |
assignee: | nobody → ajung |
importance: | Undecided → Medium |
status: | New → Confirmed |
Changed in plone: | |
status: | Unknown → Confirmed |
Changed in plone: | |
status: | Confirmed → Fix Released |
Changed in zope2: | |
status: | Confirmed → Fix Released |
To post a comment you must log in.
The real problem is that encoding is not defined in <?xml ?> but set in content_type with 'text/xml; charset=utf-8'