[openstreetmap/openstreetmap-website] Workaround a bug in file 5.46 (PR #5930)

Tom Hughes notifications at github.com
Sun Apr 13 19:43:05 UTC 2025


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/5930 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20250413/0fb67c77/attachment-0001.htm>


More information about the rails-dev mailing list