Commit af0cefdc authored by Arnaud Fontaine's avatar Arnaud Fontaine

zope4py3: Thanks to futurize `install_aliases()`, py3 urllib.parse is available.

py2 urlparse module was removed.
parent 9db8e4ec
......@@ -393,7 +393,7 @@ import hashlib
allow_type(type(hashlib.md5()))
allow_module('time')
allow_module('unicodedata')
allow_module('urlparse')
allow_module('urllib.parse')
import urllib.parse
allow_type(urllib.parse.ParseResult)
allow_type(urllib.parse.SplitResult)
......@@ -461,7 +461,7 @@ safe_builtins['__import__'] = guarded_import
ModuleSecurityInfo('transaction').declarePublic('doom')
ModuleSecurityInfo('urllib').declarePublic(
ModuleSecurityInfo('urllib.parse').declarePublic(
'urlencode',
'quote', 'unquote',
'quote_plus', 'unquote_plus',
......
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