X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/607d23f6d63415b9eb653eb6a7eb2b1aa45300e9..85d17f257c338f668a1d17d9fc62a2f48ec84230:/app/helpers/browse_helper.rb?ds=inline diff --git a/app/helpers/browse_helper.rb b/app/helpers/browse_helper.rb index ebcd58dd0..de439d56f 100644 --- a/app/helpers/browse_helper.rb +++ b/app/helpers/browse_helper.rb @@ -78,7 +78,7 @@ private def wikipedia_link(key, value) # Some k/v's are wikipedia=http://en.wikipedia.org/wiki/Full%20URL - return nil if value =~ /^http:\/\// + return nil if value =~ /^https?:\/\// if key == "wikipedia" # This regex should match Wikipedia language codes, everything