On Wed, 20 May 2009 14:10:07 +0200, Alan DeKok wrote:
Niko Tyni wrote:
It seems to me that the escaping and unescaping done in rlm_perl via perl_store_vps() -> vp_prints_value() -> librad_safeprint() and get_hv_content() -> pairadd_sv() -> pairmake() -> pairparsevalue() is a bit unnecessary,
I agree; there doesn't seem to be a reason to quote double-quotes (or anything else that fr_print_string() guards against) in rlm_perl.
The rlm_perl code could arguable be updated, too. But that's less of a priority.
Alan, would you accept a patch to get rid of the vp_prints_value() in perl_store_vps? john -- John Morrissey _o /\ ---- __o jwm@horde.net _-< \_ / \ ---- < \, www.horde.net/ __(_)/_(_)________/ \_______(_) /_(_)__