Home Dashboard Directory Help
Search

EmailAddressAttribute has allowed multi-byte string. by shiba-yan


Status: 

Closed


6
0
Sign in
to vote
Type: Bug
ID: 790297
Opened: 6/17/2013 1:49:50 AM
Access Restriction: Public
0
Workaround(s)
view
0
User(s) can reproduce this bug

Description

System.ComponentModel.DataAnnotations.EmailAddressAttribute has allowed multi-byte string.

It should be treated as a email address incorrect "あああ@domain.com".
Details
Sign in to post a comment.
Posted by shiba-yan on 7/12/2013 at 8:09 PM
Internationalization of the e-mail address is a transition period, it is not popular at all in Japan who submitted the specifications yet. In addition, developers who know the international e-mail address at least the potential for problems is high.

If there is no intention to change, I want you to append to that effect on MSDN.
(I do not understand is that the sentence "Validates an email address", it corresponds to international e-mail address)
Posted by Microsoft on 7/12/2013 at 4:23 PM
Thank you for your feedback. The current design allows for international characters in the e-mail address and we do not currently plan on adding a way to disable this support. You can, however, wrap this validator in your own custom validator that calls the inner validator, then does additional validation of your own.
Posted by Microsoft on 6/17/2013 at 2:49 AM
Thank you for submitting feedback on Visual Studio and .NET Framework. Your issue has been routed to the appropriate VS development team for investigation. We will contact you if we require any additional information.
Posted by Microsoft on 6/17/2013 at 2:49 AM
Thank you for submitting feedback on Visual Studio and .NET Framework. Your issue has been routed to the appropriate VS development team for investigation. We will contact you if we require any additional information.
Posted by shiba-yan on 6/17/2013 at 2:24 AM
If for EAI support, I want you to be able to switch the setting.
Sign in to post a workaround.
File Name Submitted By Submitted On File Size  
Program.cs 6/17/2013 326 bytes