Red Hat Bugzilla – Bug 1031993
Block SD/DC creation with a proper message when using special characters.
Last modified: 2013-12-04 02:57:17 EST
We should not allow enter special characters in the hosted engine setup values like DC and SD. Now,user can enter DC name like *&^%$#@ which is forbidden if user were using UI. Hosted engine setup should align with the UI.
The UI accepts the following:
Name can be only 'A-Z','a-z',0-9','-' or '_' characters
Also make sure the smtp configuration for notifications obeys the standard rules:
SMTP server: ietf.org/rfc/rfc2181.txt section 11
EMAIL address: the regexp here is not simple.. but for example firstname.lastname@example.org is a valid address :)
(In reply to Martin Sivák from comment #2)
> Also make sure the smtp configuration for notifications obeys the standard
> SMTP server: ietf.org/rfc/rfc2181.txt section 11
> EMAIL address: the regexp here is not simple.. but for example
> email@example.com is a valid address :)
This is already in, fixing bug #1032467.
patch merged on upstream master and 1.0 branches.
This bug was fixed and is slated to be in the upcoming version. As we
are focusing our testing at this phase on severe bugs, this bug was
closed without going through its verification step. If you think this
bug should be verified by QE, please set its severity to high and move
it back to ON_QA