]> git.ipfire.org Git - thirdparty/freeradius-server.git/commit
v4: Convert LDAP escape / unescape xlats to new API (#4227)
authorNick Porter <nick@portercomputing.co.uk>
Wed, 15 Sep 2021 15:15:40 +0000 (16:15 +0100)
committerGitHub <noreply@github.com>
Wed, 15 Sep 2021 15:15:40 +0000 (10:15 -0500)
commit12d5afa57183803d4f4efa39b88c0ed8f13dddb9
tree7dbcf098cdbe8e83b932c2ff46c81060e43d1ed8
parenteb3d236ba7a1a932799ccb7cf26f43ac77c171c5
v4: Convert LDAP escape / unescape xlats to new API (#4227)

* Update %{ldap_escape } to new xlat api

* Add tests for %{ldap_escape: }

* Convert %{ldap_unescape: } to new xlat api

* Add tests for %{ldap_unescape: }

* Look for the current character in the "specials" list, not the first
src/lib/ldap/util.c
src/modules/rlm_ldap/rlm_ldap.c
src/tests/modules/ldap/xlat.attrs [new file with mode: 0644]
src/tests/modules/ldap/xlat.unlang [new file with mode: 0644]