This refactors our trace file format detection so that we only do it in one and 
then adjusts that code to work around https://bugs.astron.com/view.php?id=643 
which otherwise means that we fail to identify zip files on systems using 
version 5.46 of the file command.
You can view, comment on, or merge this pull request online at:

  https://github.com/openstreetmap/openstreetmap-website/pull/5930

-- Commit Summary --

  * Use pre-computed content type in trace#xml_file
  * Workaround bug in file 5.46

-- File Changes --

    M app/models/trace.rb (31)

-- Patch Links --

https://github.com/openstreetmap/openstreetmap-website/pull/5930.patch
https://github.com/openstreetmap/openstreetmap-website/pull/5930.diff

-- 
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/openstreetmap-website/pull/5930
You are receiving this because you are subscribed to this thread.

Message ID: <openstreetmap/openstreetmap-website/pull/5...@github.com>
_______________________________________________
rails-dev mailing list
rails-dev@openstreetmap.org
https://lists.openstreetmap.org/listinfo/rails-dev

Reply via email to