Description of problem: When creating a user on rhn.redhat.com, it appears that the web form only forbids: ( ) < > { } This should not be a problem if User Service were configured correctly to forbid these characters. Need to investigate with AM what we talk to, what the rules for that service is and what we/it *should* be doing. This is a high priority bug b/c users with special characters like these are not able to log into iSupport to get support. This issue may go away when/if new ticketing is implemented...
Created attachment 342682 [details] Web User Creation
The web uses to apis to validate user creation: validateUser (for email, address, etc) and validateUsername (for user name only). Currently RHN is only calling validateUser.
From an IRC conversation: > yes, it looks like calling that method will be sufficient > Here's the regex, FYI > ^[^"$<> $\^|\+\%\\(),=;~:/\*]*$ > and the length has to be > 5 > or possibly >= 5 > I'll leave that as an exercise for the reader.
Verified in webdev. Verified the following characters are not accepted when creating a user in RHN: " $ ^ < > | + % \ ( ) , = ; ~ : / * (whitespace) ' ` # & Verified the following characters are accepted: - _ . @ ! [ ] { } ?