Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGitLab Bot <gitlab-bot@gitlab.com>2021-04-26 21:09:45 +0300
committerGitLab Bot <gitlab-bot@gitlab.com>2021-04-26 21:09:45 +0300
commite7e40d45b066139707b3b851c6004e075da5226b (patch)
treecc99f48e2aaedbe9e8dac53fa4ca8d8f6f270bb4 /lib/gitlab/authorized_keys.rb
parentaad3ac9e5e59d47e389ff387e9fc2ae3a008de33 (diff)
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'lib/gitlab/authorized_keys.rb')
-rw-r--r--lib/gitlab/authorized_keys.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/gitlab/authorized_keys.rb b/lib/gitlab/authorized_keys.rb
index 50cd15b7a10..e7eba65bea8 100644
--- a/lib/gitlab/authorized_keys.rb
+++ b/lib/gitlab/authorized_keys.rb
@@ -161,7 +161,7 @@ module Gitlab
end
def strip(key)
- key.split(/[ ]+/)[0, 2].join(' ')
+ key.split(/ +/)[0, 2].join(' ')
end
end
end