Commit 95b9421a authored by Rémy Coutable's avatar Rémy Coutable

Merge branch 'rs-trailing-spaces-in-regex-messages' into 'master'

Remove trailing spaces from messages in Gitlab::Regex

See merge request !6426
parents 7ff6f507 313f3181
...@@ -44,7 +44,7 @@ module Gitlab ...@@ -44,7 +44,7 @@ module Gitlab
end end
def file_name_regex_message def file_name_regex_message
"can contain only letters, digits, '_', '-', '@' and '.'. " "can contain only letters, digits, '_', '-', '@' and '.'."
end end
def file_path_regex def file_path_regex
...@@ -52,7 +52,7 @@ module Gitlab ...@@ -52,7 +52,7 @@ module Gitlab
end end
def file_path_regex_message def file_path_regex_message
"can contain only letters, digits, '_', '-', '@' and '.'. Separate directories with a '/'. " "can contain only letters, digits, '_', '-', '@' and '.'. Separate directories with a '/'."
end end
def directory_traversal_regex def directory_traversal_regex
...@@ -60,7 +60,7 @@ module Gitlab ...@@ -60,7 +60,7 @@ module Gitlab
end end
def directory_traversal_regex_message def directory_traversal_regex_message
"cannot include directory traversal. " "cannot include directory traversal."
end end
def archive_formats_regex def archive_formats_regex
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment