3.0.x rlm_sql mime encoding UTF8 characters

Alan DeKok aland at deployingradius.com
Sun Nov 2 23:40:09 CET 2014


Arran Cudbard-Bell wrote:
> I've pushed a fix to process UTF8 chars correctly for the %{escape:} and
> %{unescape:} xlats.

  OK.

> I'm guessing the decision to pass through UTF8 chars here is more a matter
> of convenience for the administrator than not wanting to write the code :)

  O(N^2) string comparisons are bad.

  The problematic SQL characters are ASCII.  They need to be escaped.
The rest can be passed through to SQL.

  Alan DeKok.


More information about the Freeradius-Users mailing list