MAJ terminée. Nous sommes passés en version 14.6.2 . Pour consulter les "releases notes" associées c'est ici :

https://about.gitlab.com/releases/2022/01/11/security-release-gitlab-14-6-2-released/
https://about.gitlab.com/releases/2022/01/04/gitlab-14-6-1-released/

Commit 5d1c68e5 authored by BAIRE Anthony's avatar BAIRE Anthony
Browse files

fix ssh-key validation regex

(was rejecting base64 padding bytes "=")
parent 6444b5e0
......@@ -29,7 +29,7 @@ class User < ActiveRecord::Base
# - comment line (starting with '#')
# - ssh key line (options not allowed)
validates :sshkey, format: {
with: /\A(\s*(|#.*|ssh-[a-z0-9]+\s+[\w\/+]+(\s.*)?)(\r?\n|\z))*\z/,
with: /\A(\s*(|#.*|ssh-[a-z0-9]+\s+[\w\/+=]+(\s.*)?)(\r?\n|\z))*\z/,
}
## Look in the config and test the authorized domain
......
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