[openstreetmap-website] Shortlink with node= parameter loses its coordinates (#702)

Tom Hughes notifications at github.com
Sat Feb 15 12:33:56 UTC 2014


So we have a whole massive chain of redirects here, in order:

* http://osm.org/go/euu45wfE~--?node=815398933
* http://www.openstreetmap.org/go/euu45wfE~--?node=815398933
* http://www.openstreetmap.org/?node=815398933#map=18/51.53475031256676/-0.10383635759353638
* http://www.openstreetmap.org/node/815398933

So after initially redirecting to the canonical domain the shortlink is expanded, but to an old style `?node=` link, but with a hash. That is then redirected to a new style `/node/` link.

The problem is that final step - the hash is not sent to the server, but it also isn't being preserved by the client when it processes the resulting redirect.

---
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/openstreetmap-website/issues/702#issuecomment-35155121
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20140215/ba7f3a1d/attachment.html>


More information about the rails-dev mailing list