summaryrefslogtreecommitdiff
path: root/config/application.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 /config/application.rb
parente0caed91e2cd6b959f808139df7c40f3644f88fd (diff)
downloadgitlab-ce-ca9aca927970ec81387d7cd0d7372a11d03074de.tar.gz
Allow smb:// links in Markdown text.
Diffstat (limited to 'config/application.rb')
-rw-r--r--config/application.rb2
1 files changed, 2 insertions, 0 deletions
diff --git a/config/application.rb b/config/application.rb
index bd4578848c5..fa399533e52 100644
--- a/config/application.rb
+++ b/config/application.rb
@@ -50,6 +50,8 @@ module Gitlab
# Version of your assets, change this if you want to expire all your assets
config.assets.version = '1.0'
+ config.action_view.sanitized_allowed_protocols = %w(smb)
+
# Relative url support
# Uncomment and customize the last line to run in a non-root path
# WARNING: We recommend creating a FQDN to host GitLab in a root path instead of this.