[icinga-checkins] icinga.org: icinga-web/mhein/default: * Removed premilinary (and forgotten) email RegExp with a real one

git at icinga.org git at icinga.org
Fri Jul 16 11:04:49 CEST 2010


Module: icinga-web
Branch: mhein/default
Commit: 9df636392aa57aa3e1714a4223add4da1529a067
URL:    https://git.icinga.org/?p=icinga-web.git;a=commit;h=9df636392aa57aa3e1714a4223add4da1529a067

Author: jmosshammer <jmosshammer at ws-jmosshammer.(none)>
Date:   Mon Jul  5 12:52:11 2010 +0200

* Removed premilinary (and forgotten) email RegExp with a real one

---

 .../AppKit/templates/Admin/Users/EditSuccess.php   |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/app/modules/AppKit/templates/Admin/Users/EditSuccess.php b/app/modules/AppKit/templates/Admin/Users/EditSuccess.php
index 69feb1b..e213225 100755
--- a/app/modules/AppKit/templates/Admin/Users/EditSuccess.php
+++ b/app/modules/AppKit/templates/Admin/Users/EditSuccess.php
@@ -84,7 +84,7 @@ Ext.onReady(function(){
 					name: 'user_email',
 					id: 'user_email',
 					anchor: '75%',
-					regex: /\w+@\w+\.\w+/
+					regex: /^[A-Z0-9._%+-]+@[A-Z0-9.-]+\.[A-Z]{2,4}$/i
 				}, {
 					xtype: 'checkbox',
 					name: 'user_disabled',





More information about the icinga-checkins mailing list