[ZCM] [ZC] 721/ 9 Resubmit "ZPT escapes attributes when it
shouldn't"
Collector: Zope Bugs, Features,
and Patches ...
zope-coders-admin at zope.org
Fri Feb 11 08:08:18 EST 2005
Issue #721 Update (Resubmit) "ZPT escapes attributes when it shouldn't"
Status Pending, Zope/bug medium
To followup, visit:
http://zope.org/Collectors/Zope/721
==============================================================
= Resubmit - Entry #9 by chrisw on Feb 11, 2005 8:08 am
Status: Resolved => Pending
Then you should have "resubmit" -ed ;-)
I have now...
Please provde a clear explanation of your problem with details steps on how to reproduce.
________________________________________
= Comment - Entry #8 by lbates35476 on Feb 10, 2005 4:34 pm
Seems that this was resolved prematurely. It is still escaping ampersands in 2.7.4-0 version that I'm using.
________________________________________
= Resolve - Entry #7 by chrisw on Nov 26, 2004 6:20 am
Status: Deferred => Resolved
No response, so I'm assuming the testing went fine, so marking as resolved.
________________________________________
= Defer - Entry #6 by chrisw on Sep 24, 2004 7:49 pm
Status: Pending => Deferred
Final call for testing Evan's fixes for this.
If no-one's having problems, this will get marked as resolved in a month's time...
________________________________________
= Comment - Entry #5 by evan on Oct 1, 2003 1:31 pm
This *should* be fixed now in the CVS trunk and 2.7 branch. Interested parties please test and comment.
________________________________________
= Edit - Entry #4 by ctheune on Sep 19, 2003 7:15 am
Changes: edited transcript, revised version_info
________________________________________
= Resubmit - Entry #3 by ctheune on Sep 9, 2003 9:14 am
Status: Resolved => Pending
I currently discovered this behaviour on a HEAD checkout from 2003/07/14.
Is it possible this bug slipped in again? Also in XML mode i discovered that the attributes are presented after character reference substitution (happens only in the attributes, not the rest of the document).
So this happens to an attribute "string:ä":
Macro-Expansion On | Macro-Expansion Off
XML-Mode "string:ä" | "string:ä":
HTML-Mode "string:ä" | "string:ä":
I tried to locate it further. It happens somewhere in the
interpret() method from the TALInterpreter.
________________________________________
= Resolve - Entry #2 by evan on Dec 16, 2002 5:55 pm
Status: Pending => Resolved
Fixed in CVS trunk by not escaping ampersands in attributes that start off a syntactically valid character entity. Note that this includes semantic nonsense such as "&blah;" and "�" as well as valid entities such as "á" and "d".
________________________________________
= Request - Entry #1 by Anonymous User on Dec 12, 2002 6:22 am
ZPT escapes the ampersand of character entities
in attributes. They should not be escaped since
they are legal HTML and needed to make accented
characters, for example in <img alt="">
To check this, put the following line in a Template
and view the result.
<span alt="á"></span>
==============================================================
More information about the Zope-Collector-Monitor
mailing list