From 863b1ecfb4c6cf5b6f79d9164e47ef50326c2e5c Mon Sep 17 00:00:00 2001 From: wilkie Date: Thu, 24 Mar 2011 06:59:22 -0400 Subject: [PATCH] Allow https in URL scrape. --- models/update.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/models/update.rb b/models/update.rb index fe291926..8d27d0ca 100644 --- a/models/update.rb +++ b/models/update.rb @@ -30,7 +30,7 @@ def to_html match end end - out.gsub!(/(http:\/\/\S+[a-zA-Z0-9\/])/, "\\1") + out.gsub!(/(http[s]?:\/\/\S+[a-zA-Z0-9\/])/, "\\1") out.gsub!(/#(\w+)/, "#\\1") out end