flex-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jmcl...@apache.org
Subject [2/2] git commit: [flex-sdk] - Added LF and CR as ilegal characters
Date Tue, 30 Apr 2013 04:51:20 GMT
Added LF and CR as ilegal characters


Project: http://git-wip-us.apache.org/repos/asf/flex-sdk/repo
Commit: http://git-wip-us.apache.org/repos/asf/flex-sdk/commit/32aa4a22
Tree: http://git-wip-us.apache.org/repos/asf/flex-sdk/tree/32aa4a22
Diff: http://git-wip-us.apache.org/repos/asf/flex-sdk/diff/32aa4a22

Branch: refs/heads/develop
Commit: 32aa4a2269da8edf8cf5c8efc52f8b55afc46ea7
Parents: 84b172a
Author: Justin Mclean <jmclean@apache.org>
Authored: Tue Apr 30 14:49:47 2013 +1000
Committer: Justin Mclean <jmclean@apache.org>
Committed: Tue Apr 30 14:49:47 2013 +1000

----------------------------------------------------------------------
 .../framework/src/mx/validators/EmailValidator.as  |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/flex-sdk/blob/32aa4a22/frameworks/projects/framework/src/mx/validators/EmailValidator.as
----------------------------------------------------------------------
diff --git a/frameworks/projects/framework/src/mx/validators/EmailValidator.as b/frameworks/projects/framework/src/mx/validators/EmailValidator.as
index d81f831..5217fa2 100644
--- a/frameworks/projects/framework/src/mx/validators/EmailValidator.as
+++ b/frameworks/projects/framework/src/mx/validators/EmailValidator.as
@@ -74,12 +74,12 @@ public class EmailValidator extends Validator
 	 *  @private
 	 */
 	private static const DISALLOWED_LOCALNAME_CHARS:String =
-								"()<>,;:\\\"[] `~!#$%^&*={}|/?'	";
+								"()<>,;:\\\"[] `~!#$%^&*={}|/?'\t\n\r";
 	/**
 	 *  @private
 	 */							
 	private static const DISALLOWED_DOMAIN_CHARS:String =
-								"()<>,;:\\\"[] `~!#$%^&*+={}|/?' ";
+								"()<>,;:\\\"[] `~!#$%^&*+={}|/?'\t\n\r";
 	
 	//--------------------------------------------------------------------------
 	//


Mime
View raw message