Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
erp5
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Levin Zimmermann
erp5
Commits
af0cefdc
Commit
af0cefdc
authored
Apr 13, 2022
by
Arnaud Fontaine
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
zope4py3: Thanks to futurize `install_aliases()`, py3 urllib.parse is available.
py2 urlparse module was removed.
parent
9db8e4ec
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
product/ERP5Type/patches/Restricted.py
product/ERP5Type/patches/Restricted.py
+2
-2
No files found.
product/ERP5Type/patches/Restricted.py
View file @
af0cefdc
...
...
@@ -393,7 +393,7 @@ import hashlib
allow_type
(
type
(
hashlib
.
md5
()))
allow_module
(
'time'
)
allow_module
(
'unicodedata'
)
allow_module
(
'urlparse'
)
allow_module
(
'url
lib.
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'
,
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment