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

Remove URI encoding of user and pass params #55

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

cwallacetlc
Copy link

The URI encoding is already done within LWP::UserAgent. If you had a space in your password, it would get URI encoded into %20, which would then get encoded again into %2520. It's probably not a big deal, because no one uses spaces in their passwords.... right? ;-)

@plettich
Copy link
Member

Actually i could not reproduce this. Even though spaces in passwords are less common, other non-ASCII characters are used frequently in user names or passwords and thus we need the URI encoding.
If the space gets encoded twice in You case, can You add the output of that with debugging enabled in the rlm_perl.ini and using freeradius -X?

@cwallacetlc
Copy link
Author

The URI encoding is already done within LWP::UserAgent.

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

Successfully merging this pull request may close these issues.

2 participants