summaryrefslogtreecommitdiff
path: root/app/helpers/gitlab_markdown_helper.rb
diff options
context:
space:
mode:
authorDouwe Maan <douwe@gitlab.com>2015-03-10 13:32:28 +0100
committerDouwe Maan <douwe@gitlab.com>2015-03-10 13:32:28 +0100
commitca9aca927970ec81387d7cd0d7372a11d03074de (patch)
tree519cfa62fb9be953ca29be3faffd33675d32e76d /app/helpers/gitlab_markdown_helper.rb
parente0caed91e2cd6b959f808139df7c40f3644f88fd (diff)
downloadgitlab-ce-ca9aca927970ec81387d7cd0d7372a11d03074de.tar.gz
Allow smb:// links in Markdown text.
Diffstat (limited to 'app/helpers/gitlab_markdown_helper.rb')
-rw-r--r--app/helpers/gitlab_markdown_helper.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/helpers/gitlab_markdown_helper.rb b/app/helpers/gitlab_markdown_helper.rb
index ab30f498c01..0c69900839d 100644
--- a/app/helpers/gitlab_markdown_helper.rb
+++ b/app/helpers/gitlab_markdown_helper.rb
@@ -119,7 +119,7 @@ module GitlabMarkdownHelper
end
def ignored_protocols
- ["http://","https://", "ftp://", "mailto:"]
+ ["http://","https://", "ftp://", "mailto:", "smb://"]
end
def rebuild_path(file_path)