]> source.dussan.org Git - gitea.git/commit
EscapeFilter the group dn membership (#20200) (#20254)
authorzeripath <art27@cantab.net>
Wed, 6 Jul 2022 19:51:40 +0000 (20:51 +0100)
committerGitHub <noreply@github.com>
Wed, 6 Jul 2022 19:51:40 +0000 (20:51 +0100)
commit42be548ecc1b8e81a62d2e14927d9c9851d31b5c
treed8a8c3d29b49f4957e767966c21ad9a4dc0e4829
parent76ba23a14fa39036eb4d8c96b3326ea4842ef9e7
EscapeFilter the group dn membership (#20200) (#20254)

Backport #20200

The uid provided to the group filter must be properly escaped using the provided
ldap.EscapeFilter function.

Fix #20181

Signed-off-by: Andrew Thornton <art27@cantab.net>
services/auth/source/ldap/source_search.go