@KasparTr I don't know what's causing it but I think it has something to do with the pound sign in the URL
Uploading of gifs - Locally
did you goto settings -> uploads and enter the correct extensions allowed?
i have kept it blank. so basically it means all files?
and PNGs and JPEGs are working good.