Skip to content
This repository has been archived by the owner on Jul 24, 2021. It is now read-only.

website redirects me to another point #3408

Closed
openstreetmap-trac opened this issue Jul 23, 2021 · 4 comments
Closed

website redirects me to another point #3408

openstreetmap-trac opened this issue Jul 23, 2021 · 4 comments

Comments

@openstreetmap-trac
Copy link

Reporter: FK270673
[Submitted to the original trac issue database at 10.58am, Monday, 20th December 2010]

whenever I want to click a shortlink pointing to somewhere in the world (e.g. Australia), the website shows me first an outline of Germany, even if I have entered another shortlink to another point elsewhere in the world.

This redirect happens always ONCE after having started the Firefox browser. Nothing against my home country Germany, but being redirected there despite having clicked another shortlink is rather nasty.

This strange behaviour happens regardless whether I am logged in or not.

@openstreetmap-trac
Copy link
Author

Author: FK270673
[Added to the original trac issue at 6.06pm, Tuesday, 21st December 2010]

Replying to [ticket:3408 FK270673]:

DE-DE is my browser language preference, but this does not mean that I always want to get redirected there.

@openstreetmap-trac
Copy link
Author

Author: TomH
[Added to the original trac issue at 6.09pm, Tuesday, 21st December 2010]

Well it would help if you gave an example of the link causing the problem but I very much doubt it is really redirecting you (well actually a shortlink will redirect but you won't see any page when it does so).

What I think you are really seeing is simply that the argument processing is done in javascript, so the map first comes up with some sort of default view and then the javascript runs and adjusts the map to the requested location.

Precisely what you see will depend a lot on what browser you are using, how fast your machine is, and when various bits of javascript manage to run.

@openstreetmap-trac
Copy link
Author

Author: FK270673
[Added to the original trac issue at 6.35pm, Tuesday, 21st December 2010]

Well, my browser is:
Mozilla/5.0 (Windows; U; Windows NT 6.1; de; rv:1.9.2.13) Gecko/20101203 Firefox/3.6.13

Whenever starting the browser, I am first looking at my own contributions in order to see where I was last and how it was rendered. E.g. here:

http://www.openstreetmap.org/?minlon=-83.5173405&minlat=41.7141472&maxlon=-83.4533384&maxlat=41.8056084&box=yes

This is definitely not Germany. Is it possible to replace this link above with a more accurate link that does not depend on tricky javascript?

@openstreetmap-trac
Copy link
Author

Author: TomH
[Added to the original trac issue at 12.44am, Wednesday, 22nd December 2010]

Fixed - the problem only arises if you have your browser set to discard cookies on exit. In that case if the first time you visited OSM you did so while specifying a bounding box in the link (which is unusual) then the specified bounding box would be overridden by the geolocation code.

So all in all it was very obscure...

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

1 participant