[openstreetmap/openstreetmap-website] URI fragment lost after loading link to changeset comment (Issue #7028)

Pablo Brasero notifications at github.com
Thu Apr 23 10:39:26 UTC 2026


pablobm created an issue (openstreetmap/openstreetmap-website#7028)

### URL

https://www.openstreetmap.org/changeset/1#c1570823

### How to reproduce the issue?

If you follow a link to a changeset comment, the correct page is loaded and the browser scrolls down to the correct position. All good there. However the URI "fragment" (the bit starting with `#` that identifies the individual comment in the dicussion) is immediately lost as it is replaced by the `#map` fragment.

For example, loading https://www.openstreetmap.org/changeset/1#c1570823 leads to the correct place, but then changes in the address bar to https://www.openstreetmap.org/changeset/1#map=19/51.528856/-0.146508.

Tested on Firefox, Chrome, and GNOME Web (aka Epiphany).

### Screenshot(s) or anything else?

_No response_

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

Message ID: <openstreetmap/openstreetmap-website/issues/7028 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20260423/8daf5e3e/attachment-0001.htm>


More information about the rails-dev mailing list