@@ -272,11 +272,11 @@ # Check for valid image binary, possibly convert or resize, then save to cache filename def store_image(imgdata, fn, resize=None): # Convert accepted formats -- even PNG for filtering now - if re.match(br'^(.PNG|GIF\d+|.{0,15}JFIF|\x00\x00\x01\x00|.{0,255}]+svg)', imgdata): + if re.match(br'^(.PNG|GIF\d+|.{0,15}(Exif|JFIF)|\x00\x00\x01\x00|.{0,255}]+svg)', imgdata): try: # Read from byte/str image = Image.open(BytesIO(imgdata)) log.FAVICON_IMAGE_TO_PNG(image, image.size, resize)