Bug 981498

Summary: No underscore sanity checking on creating usernames
Product: [Retired] Zanata Reporter: Damian Jansen <djansen>
Component: UsabilityAssignee: Alex Eng <aeng>
Status: CLOSED CURRENTRELEASE QA Contact: Damian Jansen <djansen>
Severity: low Docs Contact:
Priority: unspecified    
Version: developmentCC: dchen, zanata-bugs
Target Milestone: ---   
Target Release: 3.7   
Hardware: All   
OS: All   
Whiteboard:
Fixed In Version: 3.7.0-SNAPSHOT (git-jenkins-zanata-server-github-pull-requests-3675) Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2015-07-22 02:20:07 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Damian Jansen 2013-07-05 00:41:02 UTC
Description of problem:
There's not sanity checking, or defined rules for that matter, for what is acceptable in a username regarding underscores. A username of "______" is valid, but not desirable.

Version-Release number of selected component (if applicable):
Dev

How reproducible:
Easily, always

Steps to Reproduce:
1. Go to zanata/account/register
2. Enter in a username of ______
3. tab to another field

Actual results:
No error shown

Expected results:
This case should not be acceptable.

Additional info:
The registration form can be completed, such that a new user with username "______" is created.

Comment 1 Alex Eng 2015-06-01 00:55:21 UTC
Pull request:
https://github.com/zanata/zanata-server/pull/835

Comment 2 Damian Jansen 2015-06-01 04:18:39 UTC
Verified at 1e5f1b1a87acca1b87a1f798a0c1e89d5c5263e3