[openstreetmap/openstreetmap-website] Avoid autolink patterns that trigger too easily (PR #7154)

Pablo Brasero notifications at github.com
Fri Jun 12 11:51:03 UTC 2026


pablobm left a comment (openstreetmap/openstreetmap-website#7154)

Funnily enough, initially I wrote it, but I wasn't sure about leaving this test of code that doesn't exist. My thinking is that a future reader my wonder why that test is there. Compare with the test about "year misinterpretation", which tests a specific regexp that does exist in the codebase and someone could think of altering.

I added it back, with a comment explaining where it comes from. How about that?

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

Message ID: <openstreetmap/openstreetmap-website/pull/7154/c4690988178 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20260612/e620b94f/attachment.htm>


More information about the rails-dev mailing list