1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2024-09-14 20:13:21 +02:00

Update CODING_GUIDELINES.md

This commit is contained in:
Michael DeHaan 2014-03-14 11:23:34 -05:00
parent 30cdac6061
commit 0cea4d8a32

View file

@ -86,6 +86,7 @@ Module Security
* if you use need the shell you must pass use_unsafe_shell=True to module.run_command * if you use need the shell you must pass use_unsafe_shell=True to module.run_command
* if you do not need the shell, avoid using the shell * if you do not need the shell, avoid using the shell
* any variables that can come from the user input with use_unsafe_shell=True must be wrapped by pipes.quote(x) * any variables that can come from the user input with use_unsafe_shell=True must be wrapped by pipes.quote(x)
* downloads of https:// resource urls must import module_utils.urls and use the fetch_url method
Misc Preferences Misc Preferences
================ ================