]> git.openstreetmap.org Git - rails.git/blobdiff - app/helpers/browse_helper.rb
Include the event type in the JSON output of a note
[rails.git] / app / helpers / browse_helper.rb
index ebcd58dd042b7671ed5f8e9dfd462189899deb07..de439d56fc6700a0c0973b9ad88bd3759b6d2aa9 100644 (file)
@@ -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