Skip to content

Conversation

ghost
Copy link

@ghost ghost commented Feb 20, 2020

The yaml.load() function call throws the following warning when Loader isn't specified:

"YAMLLoadWarning: calling yaml.load() without Loader=... is deprecated, as the default Loader is unsafe. Please read https://msg.pyyaml.org/load for full details."

The updated default loader avoids arbitrary code execution after issuing a warning, however the warning can be avoided with yaml.load(input, Loader=) or yaml.<full|safe|unsafe>_load(input).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants