Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Comments

@nchaigne
Copy link
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 added a commit that referenced this issue May 14, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant