[BlueOnyx:16072] Re: Problem creating an email alias on 5208R
Michael Stauber
mstauber at blueonyx.it
Wed Oct 1 10:01:51 -05 2014
Hi Tobias,
> a customer wants to add an email alias "r". But he always gets
> an error message "Please fix this field" from the gui.
>
> It is possible on a 5108R and I also see no reason why it should
> not be allowed..
I just checked. It's this rule from /usr/sausalito/schemas/basetypes.schema:
<!-- alphanum_plus_multiline is alphanumeric data plus a "safe" subset
of punctuation for use in textareas -->
<typedef
name="alphanum_plus_multiline"
type="re"
data="^([A-Za-z0-9\\._-]{2,})(([,]|[\\r\\n])[A-Za-z0-9\\._-]{2,})*$"
/>
So the input must have a minimum of two characters as per the {2,}
definition in the above rule. This is done to prevent email aliases such
as ".", "-" or "_", while still allowing them within longer aliases.
Otherwise we end up with an alias such as . at domain.com, - at domain.com or
_ at domain.com.
I'll see what I can do.
--
With best regards
Michael Stauber
More information about the Blueonyx
mailing list