-
-
Notifications
You must be signed in to change notification settings - Fork 607
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
xmlrpclib replaced with xmlrpc in Python3 (#1012)
The xmlrpclib of Python 2.x was replaced in Python 3 with xmlrpc [1]. Since Bandit no longer supports Python 2.x, it needs to update to the latest module name. As indicted in [2], xmlrpc is still not secure against maliciously constructed data. [1] https://python.readthedocs.io/en/v2.7.2/library/xmlrpclib.html [2] https://docs.python.org/3/library/xmlrpc.client.html#module-xmlrpc.client Signed-off-by: Eric Brown <[email protected]>
- Loading branch information
Showing
2 changed files
with
3 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
import xmlrpclib | ||
import xmlrpc | ||
from SimpleXMLRPCServer import SimpleXMLRPCServer | ||
|
||
def is_even(n): | ||
|