Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDmitriy Zaporozhets <dzaporozhets@gitlab.com>2015-03-12 06:57:52 +0300
committerDmitriy Zaporozhets <dzaporozhets@gitlab.com>2015-03-12 06:57:52 +0300
commitf29a7ce51f1f9d859258e190cf1d01c3d58806e1 (patch)
treed9c9fc124f0428d766d009c615f0ee823df9c081 /app/helpers/gitlab_markdown_helper.rb
parent85e3b25c04f33a73886d6294a54045b8e71c3545 (diff)
parent11e966d7a93ec0a745cde65021fa79a6a6b24667 (diff)
Merge branch 'markdown-smb-link' into 'master'
Allow smb:// links in Markdown text. As requested by Sam McLeod at https://gitlab.com/gitlab-org/gitlab-ce/issues/1184 See merge request !1669
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 daaefe90f18..f8e104b0827 100644
--- a/app/helpers/gitlab_markdown_helper.rb
+++ b/app/helpers/gitlab_markdown_helper.rb
@@ -121,7 +121,7 @@ module GitlabMarkdownHelper
end
def ignored_protocols
- ["http://","https://", "ftp://", "mailto:"]
+ ["http://","https://", "ftp://", "mailto:", "smb://"]
end
def rebuild_path(file_path)