Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Léo-Paul Géneau
gitlab-ce
Commits
313f3181
Commit
313f3181
authored
Sep 20, 2016
by
Robert Speicher
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove trailing spaces from messages in Gitlab::Regex
parent
5550bbec
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
lib/gitlab/regex.rb
lib/gitlab/regex.rb
+3
-3
No files found.
lib/gitlab/regex.rb
View file @
313f3181
...
...
@@ -44,7 +44,7 @@ module Gitlab
end
def
file_name_regex_message
"can contain only letters, digits, '_', '-', '@' and '.'.
"
"can contain only letters, digits, '_', '-', '@' and '.'."
end
def
file_path_regex
...
...
@@ -52,7 +52,7 @@ module Gitlab
end
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
def
directory_traversal_regex
...
...
@@ -60,7 +60,7 @@ module Gitlab
end
def
directory_traversal_regex_message
"cannot include directory traversal.
"
"cannot include directory traversal."
end
def
archive_formats_regex
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment