27 Oct
2014
27 Oct
'14
11:30 a.m.
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.