critical bug, onion not whitelisted, how could this be

This commit is contained in:
Sam 2013-04-02 12:11:03 +11:00
parent 2cc6f1159c
commit 6ac8911a4e

View File

@ -72,6 +72,7 @@ module Oneboxer
Entry.new(/^https?:\/\/(?:www\.)?cracked\.com\/.+/), Entry.new(/^https?:\/\/(?:www\.)?cracked\.com\/.+/),
Entry.new(/^https?:\/\/(?:www\.)?deadline\.com\/.+/), Entry.new(/^https?:\/\/(?:www\.)?deadline\.com\/.+/),
Entry.new(/^https?:\/\/(?:www\.)?thinkgeek\.com\/.+/), Entry.new(/^https?:\/\/(?:www\.)?thinkgeek\.com\/.+/),
Entry.new(/^https?:\/\/(?:www\.)?theonion\.com\/.+/),
Entry.new(/^https?:\/\/(?:www\.)?tumblr\.com\/.+/, false), Entry.new(/^https?:\/\/(?:www\.)?tumblr\.com\/.+/, false),
Entry.new(/\/\d{4}\/\d{2}\/\d{2}\//, false), # wordpress Entry.new(/\/\d{4}\/\d{2}\/\d{2}\//, false), # wordpress
] ]