allow ftp and irc protocol links in wiki pages

This commit is contained in:
rick
2011-12-22 09:30:27 -07:00
parent bd6dfcd51c
commit 5163f11ecb
+1 -1
View File
@@ -43,7 +43,7 @@ module Gollum
# Default whitelisted protocols for URLs.
PROTOCOLS = {
'a' => {'href' => ['http', 'https', 'mailto', :relative]},
'a' => {'href' => ['http', 'https', 'mailto', 'ftp', 'irc', :relative]},
'img' => {'src' => ['http', 'https', :relative]}
}.freeze