Commit 985bbc0f authored by Vincent Pelletier's avatar Vincent Pelletier

Restricted: Allow access to urllib string manipulation functions.

parent 6d73416e
......@@ -245,6 +245,12 @@ safe_builtins['__import__'] = guarded_import
ModuleSecurityInfo('transaction').declarePublic('doom')
ModuleSecurityInfo('urllib').declarePublic(
'urlencode',
'quote', 'unquote',
'quote_plus', 'unquote_plus',
)
import hmac
allow_module('hmac')
# HMAC does not sub-class object so ContainerAssertions
......
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