Problem with expansion of %{Ldap-UserDn} containing UTF-8 (cf. Bug #411)

Enrik Berkhan enrik#freeradius at planb.de
Tue Aug 28 14:24:19 CEST 2007


Hi,

Alan DeKok wrote:
>   The only way to *really* fix the problem is to track the origin of
> data, and keep tainted / untainted flags.

Why not move the escaping that is done by librad_safeprint to the 
'default escape function' (xlat_copy) when xlating? This would avoid the 
double escaping when a module supplied escape function is given to 
radius_xlat and keep the status quo otherwise.

Enrik




More information about the Freeradius-Devel mailing list