Hello, Freeradius developers! Since I don't see any reason why we should cut out all the non-latin characters from freeradius logs I made a tiny patch for log.c. Some time ago me and Alan had a discussion about this topic. We came to conclusion that newlines (\n) and carriage returns (\r) should been cut out (due to security reasons) but not all the other non-latin characters. I care about tabs because I use them to format debugging output of my perl scripts (I use rlm_perl). I use also newlines but I have made a simple workaround in perl scripts. Making workaround for tabs would be too complicated. You can find patch (freeradius-1.0.4-log.c-20050803.patch) in the attachment of this e-mail. Best regards, Valts.
Valts Mazurs <valts@datatechlabs.com> wrote:
Since I don't see any reason why we should cut out all the non-latin characters from freeradius logs I made a tiny patch for log.c.
Sure. Now that there are a lot of non-latin people using the server, it doesn't make sense to filter out non-latin characters. That means that UTF-8 will work too. I'll commit a fix later today. Alan DeKok.
participants (2)
-
Alan DeKok -
Valts Mazurs