Commit 44027d7e authored by Cédric Le Ninivin's avatar Cédric Le Ninivin

Restricted Patch: Allow xfw module and xfw.FieldList Type

parent c1b3ad4d
...@@ -269,6 +269,13 @@ allow_module('io') ...@@ -269,6 +269,13 @@ allow_module('io')
import io import io
allow_type(io.BytesIO) allow_type(io.BytesIO)
allow_module('xfw')
try:
import xfw
allow_type(xfw.FieldList)
except ImportError:
pass
ModuleSecurityInfo('cgi').declarePublic('escape', 'parse_header') ModuleSecurityInfo('cgi').declarePublic('escape', 'parse_header')
allow_module('datetime') allow_module('datetime')
import datetime import datetime
......
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