 
 		for (i = 0; i < usernameLen; i++)
 		{
-			if (DISALLOWED_CHARS.indexOf(username.charAt(i)) != -1)
+			if (DISALLOWED_LOCALNAME_CHARS.indexOf(username.charAt(i)) != -1)
 			{
 				results.push(new ValidationResult(
 					true, baseField, "invalidChar",

	/**
	 *  @private
	 */
	private static const DISALLOWED_CHARS:String =
								"()<>,;:\\\"[] `~!#$%^&*+={}|/?'";
	
	//--------------------------------------------------------------------------

			// Check that there are no illegal characters in the domain.
			for (i = 0; i < domainLen; i++)
			{
				if (DISALLOWED_DOMAIN_CHARS.indexOf(domain.charAt(i)) != -1)
				{
					results.push(new ValidationResult(
						true, baseField, "invalidChar",
