Skip to content
This repository has been archived by the owner on Apr 19, 2019. It is now read-only.

Commit

Permalink
allow ftp and irc protocol links in wiki pages
Browse files Browse the repository at this point in the history
  • Loading branch information
technoweenie committed Dec 22, 2011
1 parent bd6dfcd commit 5163f11
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/gollum/sanitization.rb
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ class Sanitization

# 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

Expand Down

0 comments on commit 5163f11

Please sign in to comment.