]> git.ipfire.org Git - thirdparty/sarg.git/commit
Escape the LDAP search string instead of truncating it.
authorFrédéric Marchal <fmarchal@users.sourceforge.net>
Wed, 15 Sep 2010 06:16:15 +0000 (06:16 +0000)
committerFrédéric Marchal <fmarchal@users.sourceforge.net>
Wed, 15 Sep 2010 06:16:15 +0000 (06:16 +0000)
commit1b048c438401313c0f9938953655920ec87199aa
tree1569d72d8b7078737f1942fda86211e8b6b570db
parent89dbb8e8ad5e33560638eb3c10e1215ff6654688
Escape the LDAP search string instead of truncating it.

A few characters must be escaped in a LDAP search string. Sarg used to
truncate the user login name at the first "dubious" character found in
the string and the list of "dubious" character was much longer than
necessary. Instead of truncating the user login, this patch escape the
characters.
CMakeLists.txt
include/info.h
log.c
sarg.conf
usertab.c