diff options
author | Kurt Garloff <kurt@garloff.de> | 2020-03-31 17:57:23 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-03-31 10:57:23 -0500 |
commit | d00126c167fc06d913d99cfc184bf3402cb8cf53 (patch) | |
tree | a1f82bdf7787393092a556d4fe369d67c8be98b4 /SECURITY.md | |
parent | 4fb6fd8a046a6bcce01216c386f3b691a2c466bb (diff) | |
download | vyos-cloud-init-d00126c167fc06d913d99cfc184bf3402cb8cf53.tar.gz vyos-cloud-init-d00126c167fc06d913d99cfc184bf3402cb8cf53.zip |
Fix cloud-init ignoring some misdeclared mimetypes in user-data.
On some platforms (old heat on OpenTelekomCloud), the user-data mime part
is mislabeled x-shellscript. cloud-init would not accept this unexpected
mime-type in multipart user-data. Cloud-init will now run find_ctype()
on the content of the mime-part to check if it matches known include types.
This patch is from Ryan Harper (inspired by my bug report and a
suggestion from Scott Moser) from the discussion on PR #234.
Signed-off-by: Kurt Garloff <kurt@garloff.de>
Diffstat (limited to 'SECURITY.md')
0 files changed, 0 insertions, 0 deletions