[openstreetmap/openstreetmap-website] Don't include stack backtraces on xml errors when importing traces (PR #5226)
Anton Khorev
notifications at github.com
Thu Sep 19 16:10:57 UTC 2024
Alternatively or in addition to this we can check file types. We already do, to detect archives https://github.com/openstreetmap/openstreetmap-website/blob/6595d43e3cda580508a069e174d0059febcdc6ea/lib/gpx.rb#L55-L58 I don't know if we can reliably detect gpx. We could detect obviously wrong file types like jpg, but we're not going to test for all possible types.
--
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/openstreetmap-website/pull/5226#issuecomment-2361440782
You are receiving this because you are subscribed to this thread.
Message ID: <openstreetmap/openstreetmap-website/pull/5226/c2361440782 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20240919/e9cf2c7a/attachment.htm>
More information about the rails-dev
mailing list