mirror of
https://gitlab.com/fdroid/fdroidserver.git
synced 2024-11-04 22:40:12 +01:00
use yaml.safe_load for parsing metadata
This commit is contained in:
parent
1a8c77e815
commit
e7a34807f7
@ -1073,7 +1073,7 @@ def parse_json_metadata(mf, app):
|
||||
|
||||
|
||||
def parse_yaml_metadata(mf, app):
|
||||
yamldata = yaml.load(mf, Loader=YamlLoader)
|
||||
yamldata = yaml.safe_load(mf)
|
||||
|
||||
if yamldata:
|
||||
for field in yamldata:
|
||||
|
Loading…
Reference in New Issue
Block a user