[openstreetmap/openstreetmap-website] GPX Upload from Basecamp fails (#2258)

Andy Allan notifications at github.com
Fri Jun 14 14:20:37 UTC 2019

> So just make it `&.type` maybe? So we assume it's straight XML if we can't get the type?

Seems reasonable. It would be better if the mime type detection wasn't fooled by a BOM, but I haven't found any discussions on https://github.com/minad/mimemagic/ or in the upstream shared-mime-info to guide me towards better options.

You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20190614/5d255a27/attachment.html>

More information about the rails-dev mailing list