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

Linkify of wikipedia=https://XXX does not work on browse pages #4211

Closed
openstreetmap-trac opened this issue Jul 23, 2021 · 1 comment
Closed

Comments

@openstreetmap-trac
Copy link

Reporter: amm
[Submitted to the original trac issue database at 2.56pm, Sunday, 5th February 2012]

The linkify function for wikipedia tags on the browse page does not work with https URLs (e.g. http://www.openstreetmap.org/browse/way/25479987 or http://www.openstreetmap.org/browse/way/4490230)

It turns e.g. wikipedia=https://sv.wikipedia.org/wiki/Humleg%C3%A5rden into wikipedia=//sv.wikipedia.org/wiki/Humleg%C3%A5rden

The regular expression on line 81 in browse_helper.rb/wikipedia_link does not match https URLs.

@openstreetmap-trac
Copy link
Author

Author: TomH
[Added to the original trac issue at 8.55am, Monday, 6th February 2012]

Fixed.

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