[openstreetmap/openstreetmap-website] User's profile image can break the access to OpenStreetMap (#2334)

Tom Hughes notifications at github.com
Wed Jul 31 11:34:27 UTC 2019


It is true that paperclip (which we were using for the images) had a validation to restrict the content type to genuine image types (though EPS was allowed as it is an image) but I'm not aware of any easy way to do that with Active Storage at the moment.

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/openstreetmap-website/issues/2334#issuecomment-516811205
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20190731/3825b42c/attachment.html>


More information about the rails-dev mailing list