Update of /cvs-repository/Zope/lib/python/reStructuredText
In directory cvs.zope.org:/tmp/cvs-serv7924/lib/python/reStructuredText

Modified Files:
      Tag: Zope-2_7-branch
        __init__.py 
Log Message:
 - Backport tests and fixes for ReST file inclusion vulnerability.


=== Zope/lib/python/reStructuredText/__init__.py 1.7.2.7 => 1.7.2.8 ===
--- Zope/lib/python/reStructuredText/__init__.py:1.7.2.7        Mon Jul 26 
13:38:10 2004
+++ Zope/lib/python/reStructuredText/__init__.py        Mon Jul 10 17:28:30 2006
@@ -73,6 +73,8 @@
     settings['stylesheet'] = stylesheet
     if language_code:
         settings['language_code'] = language_code
+    settings['file_insertion_enabled '] = 0
+    settings['raw_enabled'] = 0
     # starting level for <H> elements:
     settings['initial_header_level'] = initial_header_level + 1
     # set the reporting level to something sane:

_______________________________________________
Zope-Checkins maillist  -  Zope-Checkins@zope.org
http://mail.zope.org/mailman/listinfo/zope-checkins

Reply via email to