[openstreetmap/openstreetmap-website] catch invalid URLs instead of just showing somewhere else (#1198)

積丹尼 Dan Jacobson notifications at github.com
Thu Jun 27 01:41:21 UTC 2024


The point is as in the Ux.stackexchange article,
> I'm (generally) against silently ignored errors because error may go unnoticed and what user get won't be what he expects.

What exact part of the URL, and how to exactly deal with it are technical details.

The problem is half the time the results the OSM website shows the user look legitimate, when in fact they will create disasters later:

1. State Department personnel browse the Whitehouse.
2. State Department personnel copy the URL they see into their announcement.
3. State Department personnel double check their announcement being sure all links work, and indeed they do.

Hours later reports come in that
- "I clicked on your link to the Whitehouse, but instead got the burger place I looked up last week." 
- "I clicked on your link to the Whitehouse, but instead got a zoomed out map of my country."

Well it turns out State Department personnel had somehow messed up the link, but since OSM.org is so forgiving, everybody, including the State Department personnel just get "the next best link" in such cases, which is the last thing they were browsing. 

And what if it was a Friday, and one needed to wait till Monday until they could get into the office to fix it?

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

Message ID: <openstreetmap/openstreetmap-website/issues/1198/2192893265 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20240626/d291e22d/attachment.htm>


More information about the rails-dev mailing list