[Zope-Checkins] SVN: Zope/branches/2.12/ LP #142430: Avoid using the contexts title_or_id method in the standard_error_message. For a restricted context, this could otherwise lead to a Forbidden error and a subsequent "Also, an error occurred while attempting to render the standard error message."

Hanno Schlichting hannosch at hannosch.eu
Thu Apr 1 20:44:15 EDT 2010


Log message for revision 110447:
  LP #142430: Avoid using the contexts title_or_id method in the standard_error_message. For a restricted context, this could otherwise lead to a Forbidden error and a subsequent "Also, an error occurred while attempting to render the standard error message."
  

Changed:
  U   Zope/branches/2.12/doc/CHANGES.rst
  U   Zope/branches/2.12/src/OFS/standard/standard_error_message.dtml

-=-
Modified: Zope/branches/2.12/doc/CHANGES.rst
===================================================================
--- Zope/branches/2.12/doc/CHANGES.rst	2010-04-02 00:28:16 UTC (rev 110446)
+++ Zope/branches/2.12/doc/CHANGES.rst	2010-04-02 00:44:15 UTC (rev 110447)
@@ -31,6 +31,9 @@
 Bugs Fixed
 ++++++++++
 
+- LP #142430: Avoid using the contexts title_or_id method in the
+  standard_error_message.
+
 - LP #257675: request.form contained '-C':'' when no QUERY_STRING was in
   the environment.
 

Modified: Zope/branches/2.12/src/OFS/standard/standard_error_message.dtml
===================================================================
--- Zope/branches/2.12/src/OFS/standard/standard_error_message.dtml	2010-04-02 00:28:16 UTC (rev 110446)
+++ Zope/branches/2.12/src/OFS/standard/standard_error_message.dtml	2010-04-02 00:44:15 UTC (rev 110447)
@@ -1,5 +1,5 @@
 <html>
-<head><title>&dtml-title_or_id;</title></head>
+<head><title>Site Error</title></head>
 <body bgcolor="#FFFFFF">
 
 <dtml-if error_message>



More information about the Zope-Checkins mailing list