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

Trim whitespace from usernames #16

Open
rsutphin opened this issue Dec 8, 2011 · 1 comment
Open

Trim whitespace from usernames #16

rsutphin opened this issue Dec 8, 2011 · 1 comment

Comments

@rsutphin
Copy link
Contributor

rsutphin commented Dec 8, 2011

Leading or trailing whitespace in a username is never significant. Aker should remove any present before validating credentials.

This could be done generically at the composite authority level so that individual authorities and modes don't have to duplicate the logic.

@hannahwhy
Copy link
Contributor

An update: we saw an instance of this occurring in one of our CAS-using applications today. The CAS server recognized a username of the form [SPACE]name, but the application didn't.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants