jenkins-decrypt
jenkins-decrypt copied to clipboard
XML file not recognized (mime type is text/xml)
Hello.
I noticed, when using the -d option (for directory browsing), that none of the XML files where recognized. After some debuging, it appears my system report XML file as "text/xml" instead of "application/xml" (Amazon Linux 2).
Fix at line 330 :
if mimetypes.guess_type(filename)[0] in [ "application/xml", "text/xml"] :