You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@wicket.apache.org by "Guðmundur Bjarni Ólafsson (JIRA)" <ji...@apache.org> on 2008/02/04 18:39:08 UTC
[jira] Created: (WICKET-1320) EmailAddressValidator is not RFC 2822
compliant
EmailAddressValidator is not RFC 2822 compliant
-----------------------------------------------
Key: WICKET-1320
URL: https://issues.apache.org/jira/browse/WICKET-1320
Project: Wicket
Issue Type: Bug
Reporter: Guðmundur Bjarni Ólafsson
Priority: Minor
Say that I have the address user@gmail.com and I sign up at a site, Gmail then allows me to write my address as: user+site@gmail.com, so I can easily filter out any messages coming from this site. The current version of EmailAddressValidator unfortunately does not allow me to do this since it considers a + to be invalid.
It would be very nice if the validator could be RFC 2822[1] compliant.
[1] http://tools.ietf.org/html/rfc2822
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Issue Comment Edited: (WICKET-1320) EmailAddressValidator is
not RFC 2822 compliant
Posted by "Guðmundur Bjarni Ólafsson (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/WICKET-1320?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12565434#action_12565434 ]
gudmundur.bjarni edited comment on WICKET-1320 at 2/4/08 9:53 AM:
---------------------------------------------------------------------------
A simple fix for the + symbol could be done by changing the pattern to:
^[_A-Za-z0-9-]+([\\.+][_A-Za-z0-9-]+)*@[A-Za-z0-9-]+(\\.[A-Za-z0-9-]+)*((\\.[A-Za-z]{2,}){1}$)
where the modification is the [\\.+] part
was (Author: gudmundur.bjarni):
A simple fix for the + symbol could be done by changing the pattern to:
"^[_A-Za-z0-9-]+([\\.+][_A-Za-z0-9-]+)*@[A-Za-z0-9-]+(\\.[A-Za-z0-9-]+)*((\\.[A-Za-z]{2,}){1}$)"
where the modification is the [\\.+] part
> EmailAddressValidator is not RFC 2822 compliant
> -----------------------------------------------
>
> Key: WICKET-1320
> URL: https://issues.apache.org/jira/browse/WICKET-1320
> Project: Wicket
> Issue Type: Bug
> Components: wicket
> Reporter: Guðmundur Bjarni Ólafsson
> Priority: Minor
>
> Say that I have the address user@gmail.com and I sign up at a site, Gmail then allows me to write my address as: user+site@gmail.com, so I can easily filter out any messages coming from this site. The current version of EmailAddressValidator unfortunately does not allow me to do this since it considers a + to be invalid.
> It would be very nice if the validator could be RFC 2822[1] compliant.
> [1] http://tools.ietf.org/html/rfc2822
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Commented: (WICKET-1320) EmailAddressValidator is not RFC
2822 compliant
Posted by "Igor Vaynberg (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/WICKET-1320?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12565463#action_12565463 ]
Igor Vaynberg commented on WICKET-1320:
---------------------------------------
done
> EmailAddressValidator is not RFC 2822 compliant
> -----------------------------------------------
>
> Key: WICKET-1320
> URL: https://issues.apache.org/jira/browse/WICKET-1320
> Project: Wicket
> Issue Type: Bug
> Components: wicket
> Reporter: Guðmundur Bjarni Ólafsson
> Assignee: Igor Vaynberg
> Priority: Minor
>
> Say that I have the address user@gmail.com and I sign up at a site, Gmail then allows me to write my address as: user+site@gmail.com, so I can easily filter out any messages coming from this site. The current version of EmailAddressValidator unfortunately does not allow me to do this since it considers a + to be invalid.
> It would be very nice if the validator could be RFC 2822[1] compliant.
> [1] http://tools.ietf.org/html/rfc2822
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Resolved: (WICKET-1320) EmailAddressValidator is not RFC
2822 compliant
Posted by "Igor Vaynberg (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/WICKET-1320?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Igor Vaynberg resolved WICKET-1320.
-----------------------------------
Resolution: Invalid
Assignee: Igor Vaynberg
see org.apache.wicket.extensions.validation.validator.RfcCompliantEmailAddressValidator in wicket extensions
> EmailAddressValidator is not RFC 2822 compliant
> -----------------------------------------------
>
> Key: WICKET-1320
> URL: https://issues.apache.org/jira/browse/WICKET-1320
> Project: Wicket
> Issue Type: Bug
> Components: wicket
> Reporter: Guðmundur Bjarni Ólafsson
> Assignee: Igor Vaynberg
> Priority: Minor
>
> Say that I have the address user@gmail.com and I sign up at a site, Gmail then allows me to write my address as: user+site@gmail.com, so I can easily filter out any messages coming from this site. The current version of EmailAddressValidator unfortunately does not allow me to do this since it considers a + to be invalid.
> It would be very nice if the validator could be RFC 2822[1] compliant.
> [1] http://tools.ietf.org/html/rfc2822
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Updated: (WICKET-1320) EmailAddressValidator is not RFC 2822
compliant
Posted by "Guðmundur Bjarni Ólafsson (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/WICKET-1320?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Guðmundur Bjarni Ólafsson updated WICKET-1320:
----------------------------------------------
Component/s: wicket
> EmailAddressValidator is not RFC 2822 compliant
> -----------------------------------------------
>
> Key: WICKET-1320
> URL: https://issues.apache.org/jira/browse/WICKET-1320
> Project: Wicket
> Issue Type: Bug
> Components: wicket
> Reporter: Guðmundur Bjarni Ólafsson
> Priority: Minor
>
> Say that I have the address user@gmail.com and I sign up at a site, Gmail then allows me to write my address as: user+site@gmail.com, so I can easily filter out any messages coming from this site. The current version of EmailAddressValidator unfortunately does not allow me to do this since it considers a + to be invalid.
> It would be very nice if the validator could be RFC 2822[1] compliant.
> [1] http://tools.ietf.org/html/rfc2822
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Commented: (WICKET-1320) EmailAddressValidator is not RFC
2822 compliant
Posted by "Guðmundur Bjarni Ólafsson (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/WICKET-1320?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12565460#action_12565460 ]
Guðmundur Bjarni Ólafsson commented on WICKET-1320:
---------------------------------------------------
Thanks,
Could you maybe add a @see to EmailAddressValidator pointing to the RfcCompliant one?
> EmailAddressValidator is not RFC 2822 compliant
> -----------------------------------------------
>
> Key: WICKET-1320
> URL: https://issues.apache.org/jira/browse/WICKET-1320
> Project: Wicket
> Issue Type: Bug
> Components: wicket
> Reporter: Guðmundur Bjarni Ólafsson
> Assignee: Igor Vaynberg
> Priority: Minor
>
> Say that I have the address user@gmail.com and I sign up at a site, Gmail then allows me to write my address as: user+site@gmail.com, so I can easily filter out any messages coming from this site. The current version of EmailAddressValidator unfortunately does not allow me to do this since it considers a + to be invalid.
> It would be very nice if the validator could be RFC 2822[1] compliant.
> [1] http://tools.ietf.org/html/rfc2822
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Commented: (WICKET-1320) EmailAddressValidator is not RFC
2822 compliant
Posted by "Guðmundur Bjarni Ólafsson (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/WICKET-1320?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12565434#action_12565434 ]
Guðmundur Bjarni Ólafsson commented on WICKET-1320:
---------------------------------------------------
A simple fix for the + symbol could be done by changing the pattern to:
"^[_A-Za-z0-9-]+([\\.+][_A-Za-z0-9-]+)*@[A-Za-z0-9-]+(\\.[A-Za-z0-9-]+)*((\\.[A-Za-z]{2,}){1}$)"
where the modification is the [\\.+] part
> EmailAddressValidator is not RFC 2822 compliant
> -----------------------------------------------
>
> Key: WICKET-1320
> URL: https://issues.apache.org/jira/browse/WICKET-1320
> Project: Wicket
> Issue Type: Bug
> Reporter: Guðmundur Bjarni Ólafsson
> Priority: Minor
>
> Say that I have the address user@gmail.com and I sign up at a site, Gmail then allows me to write my address as: user+site@gmail.com, so I can easily filter out any messages coming from this site. The current version of EmailAddressValidator unfortunately does not allow me to do this since it considers a + to be invalid.
> It would be very nice if the validator could be RFC 2822[1] compliant.
> [1] http://tools.ietf.org/html/rfc2822
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.