Issue 728: Whitespace not stripped on username
http://code.google.com/p/reviewboard/issues/detail?id=728

New issue report by erichuss:
What steps will reproduce the problem?

1. Use LDAP backend.
2. Log in to have reviewboard create the user in the User table.
3. Log out.
4. Log in again with some spaces in front of your username.  It should
successfully log in, and it will create a new row in the User table with
the spaces.  Subsequently, doing things like clicking on the "Submitters"
link on the dashboard will fail because it finds usernames with spaces in  
them.

This happens with either the website or post-review.  I saw a few users
with spaces, tabs, or newlines in front of their username (not sure how
these clever users managed to get a newline in there).

What is the expected output? What do you see instead?

It should either reject the login or strip the whitespace automatically.

Please provide any additional information below.

I'm not sure if it matters what the LDAP server is or what the exact UID
mask is.  If you can't reproduce it, I can provide more detail.



Issue attributes:
        Status: New
        Owner: ----
        Labels: Type-Defect Priority-Medium

-- 
You received this message because you are listed in the owner
or CC fields of this issue, or because you starred this issue.
You may adjust your issue notification preferences at:
http://code.google.com/hosting/settings

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"reviewboard-issues" group.
To post to this group, send email to reviewboard-issues@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/reviewboard-issues?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to