[Zope-Checkins] SVN: Zope/branches/2.10/ - reStructuredText/ZReST: setting raw_enabled to 0 for security

Andreas Jung andreas at andreas-jung.com
Wed Jul 5 12:10:17 EDT 2006


Log message for revision 68977:
        - reStructuredText/ZReST: setting raw_enabled to 0 for security
          reasons
  

Changed:
  U   Zope/branches/2.10/doc/CHANGES.txt
  U   Zope/branches/2.10/lib/python/Products/ZReST/ZReST.py
  U   Zope/branches/2.10/lib/python/reStructuredText/__init__.py

-=-
Modified: Zope/branches/2.10/doc/CHANGES.txt
===================================================================
--- Zope/branches/2.10/doc/CHANGES.txt	2006-07-05 16:08:23 UTC (rev 68976)
+++ Zope/branches/2.10/doc/CHANGES.txt	2006-07-05 16:10:16 UTC (rev 68977)
@@ -18,6 +18,9 @@
 
     Bugs Fixed
 
+      - reStructuredText/ZReST: setting raw_enabled to 0 for security
+        reasons
+
       - Collector #2113:  'zopectl test' masked Ctrl-C.
 
       - OFS Image: Image and File updated to use isinstance(data, str)

Modified: Zope/branches/2.10/lib/python/Products/ZReST/ZReST.py
===================================================================
--- Zope/branches/2.10/lib/python/Products/ZReST/ZReST.py	2006-07-05 16:08:23 UTC (rev 68976)
+++ Zope/branches/2.10/lib/python/Products/ZReST/ZReST.py	2006-07-05 16:10:16 UTC (rev 68977)
@@ -204,6 +204,7 @@
                 'stylesheet_path' : None,
                 'pub.settings.warning_stream' :  Warnings(),
                 'file_insertion_enabled' : 0,
+                'raw_enabled' : 0,
                 }
 
             self._v_formatted = docutils.core.publish_string(

Modified: Zope/branches/2.10/lib/python/reStructuredText/__init__.py
===================================================================
--- Zope/branches/2.10/lib/python/reStructuredText/__init__.py	2006-07-05 16:08:23 UTC (rev 68976)
+++ Zope/branches/2.10/lib/python/reStructuredText/__init__.py	2006-07-05 16:10:16 UTC (rev 68977)
@@ -73,6 +73,7 @@
     settings['stylesheet'] = stylesheet
     settings['stylesheet_path'] = None
     settings['file_insertion_enabled'] = 0
+    settings['raw_enabled'] = 0
     if language_code:
         settings['language_code'] = language_code
     settings['language_code'] = language_code



More information about the Zope-Checkins mailing list