Commit 3f15211c authored by Andreas Jung's avatar Andreas Jung

disallowing .. include directive

parent d7d94e65
......@@ -192,6 +192,9 @@ class ZReST(Item, PropertyManager, Historical, Implicit, Persistent):
# set the reporting level to something sane
pub.settings.report_level = int(self.report_level)
# Disallow inclusion of files for security reasons
pub.settings.file_insertion_enabled = 0
# don't break if we get errors
pub.settings.halt_level = 6
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment