Opened 10 years ago

Closed 10 years ago

Last modified 10 years ago

#1994 closed defect (fixed)

[PATCH] Railsport hardcodes osm.org in the shortlink, so it doesn't work anywhere it's deployed but on openstreetmap.org

Reported by: avar Owned by: Tom Hughes
Priority: major Milestone:
Component: website Version:
Keywords: rails Cc:

Description

Here's a patch to fix it.

Attachments (1)

site-osm-org-hardcoding-fix.patch (1.2 KB) - added by avar 10 years ago.
Change to site.js. Tested in IE 6, Chrome and Firefox 3.0

Download all attachments as: .zip

Change History (4)

Changed 10 years ago by avar

Change to site.js. Tested in IE 6, Chrome and Firefox 3.0

comment:1 Changed 10 years ago by avar

Resolution: fixed
Status: newclosed

Resolved in [16181].

comment:2 Changed 10 years ago by Tom Hughes

All this despite the fact you were repeatedly told on IRC not to do this...

comment:3 Changed 10 years ago by Tom Hughes

...and why all the arsing about to strip www. from the front to "normalize" the hostname. The normalized hostname is www.openstreetmap.org and everything else redirects to that so you won't see anything else.

Note: See TracTickets for help on using tickets.