summaryrefslogtreecommitdiffstats
path: root/lib/redmine/wiki_formatting
diff options
context:
space:
mode:
authorJean-Philippe Lang <jp_lang@yahoo.fr>2008-11-11 14:24:06 +0000
committerJean-Philippe Lang <jp_lang@yahoo.fr>2008-11-11 14:24:06 +0000
commitcbacc71dff75f6abd6bfc5c4c4200b6c08528e0a (patch)
tree56a30d4cc76130cbe88119049a70ae9bb8619eaf /lib/redmine/wiki_formatting
parentad97165f1b049bb034a2a97db47a663467346092 (diff)
downloadredmine-cbacc71dff75f6abd6bfc5c4c4200b6c08528e0a.tar.gz
redmine-cbacc71dff75f6abd6bfc5c4c4200b6c08528e0a.zip
Turn ftps and sftp proto into links (#1514).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@2018 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'lib/redmine/wiki_formatting')
-rw-r--r--lib/redmine/wiki_formatting/textile/formatter.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/redmine/wiki_formatting/textile/formatter.rb b/lib/redmine/wiki_formatting/textile/formatter.rb
index c936803d5..1a198233c 100644
--- a/lib/redmine/wiki_formatting/textile/formatter.rb
+++ b/lib/redmine/wiki_formatting/textile/formatter.rb
@@ -135,7 +135,7 @@ module Redmine
)
(
(?:https?://)| # protocol spec, or
- (?:ftp://)|
+ (?:s?ftps?://)|
(?:www\.) # www.*
)
(