]> 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>
Sat, 18 Sep 2010 12:38:36 +0000 (12:38 +0000)
committerFrédéric Marchal <fmarchal@users.sourceforge.net>
Sat, 18 Sep 2010 12:38:36 +0000 (12:38 +0000)
commite71d8923a186587c567ac45179b4bf1fb51344d6
treef988e04b29c148e208dc05c27e99f7a7be4f72fc
parent3ed3a06b92a9fe2caec2f8f3bb3585327202b719
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.
log.c
sarg.conf
usertab.c