summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorRémy Coutable <remy@rymai.me>2017-02-17 10:25:34 +0100
committerRémy Coutable <remy@rymai.me>2017-02-17 10:34:43 +0100
commit5a0027236bd424ec9178d846c94092dfac419ec1 (patch)
tree33049f88e1ae3f731cae3f3f4a9f663cde006383 /lib
parentb08be1659826ae3f0b645334e59f0a2861a709eb (diff)
downloadgitlab-ce-5a0027236bd424ec9178d846c94092dfac419ec1.tar.gz
Allow slashes in slash command arguments
Signed-off-by: Rémy Coutable <remy@rymai.me>
Diffstat (limited to 'lib')
-rw-r--r--lib/gitlab/slash_commands/extractor.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/gitlab/slash_commands/extractor.rb b/lib/gitlab/slash_commands/extractor.rb
index a672e5e4855..6dbb467d70d 100644
--- a/lib/gitlab/slash_commands/extractor.rb
+++ b/lib/gitlab/slash_commands/extractor.rb
@@ -103,7 +103,7 @@ module Gitlab
(?<cmd>#{Regexp.union(names)})
(?:
[ ]
- (?<arg>[^\/\n]*)
+ (?<arg>[^\n]*)
)?
(?:\n|$)
)