Fantomas42 / django-blog-zinnia

Simple yet powerful and really extendable application for managing a blog within your Django Web site.
http://django-blog-zinnia.com/
BSD 3-Clause "New" or "Revised" License
2.11k stars 730 forks source link

item_enclosure_url is None, leading to a TypeError with mimetypes.guess_type(url) #562

Open gabn88 opened 4 years ago

gabn88 commented 4 years ago

See https://github.com/Fantomas42/django-blog-zinnia/blob/b4949304b104a8e1a7a7a0773cbfd024313c3a15/zinnia/feeds.py#L133

I have not been able to trigger it myself, but I have seen it happen frequently in our error logs, especially with crawlers/security tests.