Skip to content

Commit

Permalink
Merge pull request aws#3790 from JordonPhillips/safe_load
Browse files Browse the repository at this point in the history
Use yaml safe load in ecs customization
  • Loading branch information
JordonPhillips authored Dec 10, 2018
2 parents d07619d + 440996c commit c08ebab
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion awscli/customizations/ecs/filehelpers.py
Original file line number Diff line number Diff line change
Expand Up @@ -78,4 +78,4 @@ def parse_appspec(appspec_str):
try:
return json.loads(appspec_str)
except ValueError:
return yaml.load(appspec_str)
return yaml.safe_load(appspec_str)

0 comments on commit c08ebab

Please sign in to comment.