Mailinglist Archive: yast-devel (233 mails)

< Previous Next >
Re: [yast-devel] Re: [yast-commit] <web-client> master : validate list of e-mails in controller
  • From: Jiří Suchomel <jsuchome@xxxxxxx>
  • Date: Mon, 19 Oct 2009 15:20:15 +0200
  • Message-id: <200910191520.15150.jsuchome@xxxxxxx>
On Thursday 15 of October 2009 17:07:13 Josef Reidinger wrote:
I think that problem is not that regex is not the best one, problem is that
valid email have problem to pass (root@localhost is valid address).
I suggest easy relaxed regex /^.+@.+$/
It is easy to read dummy regex, which all possible address must pass.

OK, I'll added this simple regex to controller. Ladislav, address such as
root@localhost does not pass the javascript checks on the page...


Jiri Suchomel

SUSE LINUX, s.r.o. e-mail: jsuchome@xxxxxxx
Lihovarská 1060/12 tel: +420 284 028 960
190 00 Praha 9, Czech Republic
To unsubscribe, e-mail: yast-devel+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: yast-devel+help@xxxxxxxxxxxx

< Previous Next >