[issue26337] Bypass imghdr module determines the type of image

Steven D'Aprano report at bugs.python.org
Thu Feb 11 04:53:16 EST 2016


Steven D'Aprano added the comment:

I'm sorry, I don't understand what you think is the bug here. It looks like you are passing a corrupted file which has a PNG extension but is not actually a PNG file (it contains PHP code). What do you expect should happen?

----------
nosy: +steven.daprano

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue26337>
_______________________________________


More information about the Python-bugs-list mailing list