[openstreetmap/openstreetmap-website] An invalid diary entry URL returns an error code 500 (Issue #3865)

Tom Hughes notifications at github.com
Thu Dec 29 17:00:52 UTC 2022


The problem is that rails is coercing the ID to an integer and `"22)".to_i` in ruby actually gives 22 so it manages to find the record but then blows up trying to generate URLs in the page.

-- 
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/openstreetmap-website/issues/3865#issuecomment-1367464631
You are receiving this because you are subscribed to this thread.

Message ID: <openstreetmap/openstreetmap-website/issues/3865/1367464631 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20221229/2c8aaaa6/attachment.htm>


More information about the rails-dev mailing list