Opened 9 years ago

Closed 9 years ago

#3408 closed defect (fixed)

website redirects me to another point

Reported by: FK270673 Owned by: Tom Hughes
Priority: major Milestone:
Component: website Version:
Keywords: redirect Cc:


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.

Change History (4)

comment:1 in reply to:  description Changed 9 years ago by FK270673

Replying to FK270673:

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

comment:2 Changed 9 years ago by Tom Hughes

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.

comment:3 Changed 9 years ago by FK270673

Well, my browser is: Mozilla/5.0 (Windows; U; Windows NT 6.1; de; rv: 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:

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?

comment:4 Changed 9 years ago by Tom Hughes

Resolution: fixed
Status: newclosed

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...

Note: See TracTickets for help on using tickets.