[Zope-Checkins] SVN: Zope/trunk/ - Collector #1407: fixed XML
escaping problem introduced in 2.7.4 b1
Andreas Jung
andreas at andreas-jung.com
Mon Jan 3 15:11:59 EST 2005
Log message for revision 28714:
- Collector #1407: fixed XML escaping problem introduced in 2.7.4 b1
Changed:
U Zope/trunk/doc/CHANGES.txt
U Zope/trunk/lib/python/OFS/PropertySheets.py
-=-
Modified: Zope/trunk/doc/CHANGES.txt
===================================================================
--- Zope/trunk/doc/CHANGES.txt 2005-01-03 19:22:23 UTC (rev 28713)
+++ Zope/trunk/doc/CHANGES.txt 2005-01-03 20:11:59 UTC (rev 28714)
@@ -51,6 +51,8 @@
Bugs fixed
+ - Collector #1407: fixed XML escaping problem introduced in 2.7.4 b1
+
- Collector #1151: HTTP compression was broken on error pages
- The REQUEST now contains a new entry ACTUAL_URL which contains the
Modified: Zope/trunk/lib/python/OFS/PropertySheets.py
===================================================================
--- Zope/trunk/lib/python/OFS/PropertySheets.py 2005-01-03 19:22:23 UTC (rev 28713)
+++ Zope/trunk/lib/python/OFS/PropertySheets.py 2005-01-03 20:11:59 UTC (rev 28714)
@@ -528,7 +528,7 @@
return iso8601_date(43200.0)
def dav__displayname(self):
- return absattr(self.v_self().title_or_id())
+ return absattr(xml_escape(self.v_self().title_or_id()))
def dav__resourcetype(self):
vself=self.v_self()
More information about the Zope-Checkins
mailing list