summaryrefslogtreecommitdiff
path: root/changelogs
diff options
context:
space:
mode:
authorStan Hu <stanhu@gmail.com>2017-04-04 23:09:04 -0700
committerStan Hu <stanhu@gmail.com>2017-04-04 23:12:08 -0700
commit54849afc6c94fbc16b0b320741cadafb272deb9d (patch)
tree53a5f5994229f87ddbfab7645ef81b203431dd38 /changelogs
parentced322c5f6de61c30794140a08fa45b612474850 (diff)
downloadgitlab-ce-54849afc6c94fbc16b0b320741cadafb272deb9d.tar.gz
Handle SSH keys that have multiple spaces between each marker
Notice what happens when a user adds a key with a space in between: ``` irb(main):004:0> 'ssh-rsa foobar'.split(/ /) => ["ssh-rsa", "", "foobar"] ``` This would cause gitlab-shell to receive a blank argument for the actual key, leading to users unable to login.
Diffstat (limited to 'changelogs')
-rw-r--r--changelogs/unreleased/sh-fix-ssh-keys-with-spaces.yml4
1 files changed, 4 insertions, 0 deletions
diff --git a/changelogs/unreleased/sh-fix-ssh-keys-with-spaces.yml b/changelogs/unreleased/sh-fix-ssh-keys-with-spaces.yml
new file mode 100644
index 00000000000..fe75d7e1156
--- /dev/null
+++ b/changelogs/unreleased/sh-fix-ssh-keys-with-spaces.yml
@@ -0,0 +1,4 @@
+---
+title: Handle SSH keys that have multiple spaces between each marker
+merge_request:
+author: