3.0.x rlm_sql mime encoding UTF8 characters

Alan DeKok aland at deployingradius.com
Mon Oct 27 16:30:35 CET 2014


Phil Mayers wrote:
> I'm kind of surprised it hasn't worked given the above, but I don't know
> what strchr() does with utf8 input to the "s" argument, and I suspect
> it's locale-dependent.

  Yes.

> Rather than fix safe_characters, there should be a way to per-instance
> escape using functions like PQescapeLiteral and PQescapeStringConn, not
> something hardcoded into FreeRADIUS. I had patches to to this, but they
> bit-rotted.

  That's probably worth re-doing.

  In the mean time, I think it's worth just allowing UTF-8 characters.

  Alan DeKok.


More information about the Freeradius-Users mailing list