Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use pyyaml safe_load #12534

Merged
merged 2 commits into from
Aug 7, 2020
Merged

Use pyyaml safe_load #12534

merged 2 commits into from
Aug 7, 2020

Conversation

phlax
Copy link
Member

@phlax phlax commented Aug 7, 2020

Commit Message: Replace pyyaml.load with pyyaml.safe_load
Additional Description:

From my testing there doesnt seem to be any problem switching to safe_load in protodoc

Im not sure whether the use in config_validation requires a FullLoader but i think if it does we should comment it instead

Risk Level: medium without being fixed
Testing: rebuilding docs has been tested with the change to the protodoc compiler
Docs Changes: n/a
Release Notes:
[Optional Runtime guard:]
[Optional Fixes #Issue] Fixes #12533
[Optional Deprecated:]

Signed-off-by: Ryan Northey <ryan@synca.io>
Signed-off-by: Ryan Northey <ryan@synca.io>
@lizan lizan merged commit 1e8c0fc into envoyproxy:master Aug 7, 2020
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.

Avoid use of pyyaml.load
3 participants