3.0.x - rlm_perl - strings are still escaped when passed to perl from FreeRADIUS #635

Closed
nchaigne opened this Issue May 14, 2014 · 0 comments

Projects

None yet

1 participant

@nchaigne
Contributor

commit: 87461ac
"Don't escape strings to / from Perl".

The commit is bogus, strings are still escaped when passed from FreeRADIUS to perl.
(from perl to FreeRADIUS this is ok.)

In file: rlm_perl.c, function "perl_store_vps"
At line 620:

if (vp->da->type != PW_TYPE_INVALID) {

And at line 637:

if (sublist->da->type != PW_TYPE_INVALID) {

This should be instead: != PW_TYPE_STRING

@alandekok alandekok added a commit that referenced this issue May 14, 2014
@alandekok alandekok Fix typo. Closes #635 ff8b26e
@alandekok alandekok added a commit that closed this issue May 14, 2014
@alandekok alandekok Fix typo. Closes #635 7d21c33
@alandekok alandekok closed this in 7d21c33 May 14, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment