italia / spid-testenv2

New test Identity Provider for SPID
GNU Affero General Public License v3.0
35 stars 38 forks source link

Use yaml.safe_load() instead of yaml.load(). #259

Closed bfabio closed 4 years ago

bfabio commented 4 years ago

Use yaml.safe_load() in order to suppress pyyaml's warnings.

Security-wise it shouldn't change much, as config.yaml should already be trusted input (but it might not be in the future).