Hi,
I notice that, if I put special char in my FailuerQuery or SuccessQuery in Authlog SQL, sometime the query generated by AuthLog SQL module is blank. For example, if my FailureQuery like that: insert into Radlog (username_realm) values ('%n')
and a user name like: username@realm, then the query string is empty, instead of insert into Radlog (username_realm) values ('username@realm').
The problem is the @ character, because if username doesn't have @, the query is normal. I think the code in AuthlogSQL module (AuthlogSQL.pm), in function log : $q = eval qq/"$q"/; (near the end of function) is the causer.
 
Is there any way work around this problem?
 
Regards.
 
 

Reply via email to