On Thu, 2006-06-22 at 06:47 +0200, jan_bar wrote:
> just in the case, do you take IDN (International Domain Names) into
> consideration? Allowed characters for .de domain are listed here:
> http://www.denic.de/en/domains/idns/liste.html.

It's not me who have created the RFC 822 compliant regex. But it should
implement all specs from the RFC. So if the RFC says that IDN domains
can be used, then they are validated.


> http://www.mädchen.de (doesn't work but is registered)

I have added a test case (patch attached to this email; igor?) which
matches a email from that domain ([EMAIL PROTECTED]) as valid. So yes:
IDN domain names are validated as valid. :)


Regards
Frank Bille
Avaleo
Index: /home/fb/Workspaces/Wicket/wicket-extensions-1.2/src/test/wicket/extensions/markup/html/form/validation/RfcCompliantEmailValidatorTest.java
===================================================================
--- /home/fb/Workspaces/Wicket/wicket-extensions-1.2/src/test/wicket/extensions/markup/html/form/validation/RfcCompliantEmailValidatorTest.java	(revision 6223)
+++ /home/fb/Workspaces/Wicket/wicket-extensions-1.2/src/test/wicket/extensions/markup/html/form/validation/RfcCompliantEmailValidatorTest.java	(working copy)
@@ -45,7 +45,9 @@
 				"my @email.com", 
 				"my@ email.com", 
 				"\"John Doe\"@email.com",
-				"[EMAIL PROTECTED]" };
+				"[EMAIL PROTECTED]",
+				"[EMAIL PROTECTED]",
+				"[EMAIL PROTECTED]"};
 
 		for (int i = 0; i < validEmails.length; i++)
 		{
All the advantages of Linux Managed Hosting--Without the Cost and Risk!
Fully trained technicians. The highest number of Red Hat certifications in
the hosting industry. Fanatical Support. Click to learn more
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=107521&bid=248729&dat=121642
_______________________________________________
Wicket-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wicket-user

Reply via email to