summaryrefslogtreecommitdiff
path: root/app/helpers/projects_helper.rb
diff options
context:
space:
mode:
authorBrandon Everett <bme2010@gmail.com>2017-09-13 12:39:50 +0000
committerRémy Coutable <remy@rymai.me>2017-09-13 12:39:50 +0000
commit528f90b4e5d82f803f29c37fcfc1206e3b3bf1bd (patch)
treee09cadd3008a7baa1180c1668994f79b5b1fab03 /app/helpers/projects_helper.rb
parentc4a1c2ff425127ba05a2c3d60cba3b03c19284cd (diff)
downloadgitlab-ce-528f90b4e5d82f803f29c37fcfc1206e3b3bf1bd.tar.gz
escape characters in git user name
Diffstat (limited to 'app/helpers/projects_helper.rb')
-rw-r--r--app/helpers/projects_helper.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/helpers/projects_helper.rb b/app/helpers/projects_helper.rb
index 0c8cb9ba235..ddeff490d3a 100644
--- a/app/helpers/projects_helper.rb
+++ b/app/helpers/projects_helper.rb
@@ -320,7 +320,7 @@ module ProjectsHelper
def git_user_name
if current_user
- current_user.name
+ current_user.name.gsub('"', '\"')
else
_("Your name")
end