Red Hat Bugzilla – Bug 286401
Field checking in adding user not catching bad email format that causes service error
Last modified: 2008-06-26 16:21:27 EDT
Description of problem:
Create a user in hosted w/ all the correct fields entered except in the email
field add something like..
then click create.. and you get a service error.
Special charaters appear to be allowed in the email form, however extra periods
cause a service error.
example.. wes@.redhat.com causes service error.
example.. wes@*redhat.com is allowed.. not sure if it should be.
Please field check the create user forms.
Also it appears that entering in a state in lowercase letters is accepted by
rhn.. but not accpeted at the /sso/process_login.html screen
example "nc" as opposed to "NC"
This should be consistent. so sorry but there are two bugs here.
moving to sprint 8
OK I cloned this BZ for SSO--- the validation should be in user service but for
now RHN will do a simple email validation...
Sebastian, just do minimal sanity checking
The proper email validation against UserService should now be in place with
r118774. Please note that wes@*redhat.com is still allowed (if unique), since
it passes the UserService validation.
Small addendum to state code validation submitted in r118775. For US and
Canada, users can enter either lower or upper case state codes.
*** Bug 223116 has been marked as a duplicate of this bug. ***
no longer throws stack trace--- says invalid email address with
amy@.redhat.com-- in stage now