summaryrefslogtreecommitdiffstats
path: root/gpu/command_buffer/client
diff options
context:
space:
mode:
authorpranay.kumar <pranay.kumar@samsung.com>2015-12-26 07:52:39 -0800
committerCommit bot <commit-bot@chromium.org>2015-12-26 15:53:32 +0000
commitd46e6212cf8ad49f1ddb028b661fa27d73aeb774 (patch)
tree2fe50c2f935775e61f2307a714986586f855af3b /gpu/command_buffer/client
parent9cc09a13cb2f11cf05cf065b1acd26c1e384d5f0 (diff)
downloadchromium_src-d46e6212cf8ad49f1ddb028b661fa27d73aeb774.zip
chromium_src-d46e6212cf8ad49f1ddb028b661fa27d73aeb774.tar.gz
chromium_src-d46e6212cf8ad49f1ddb028b661fa27d73aeb774.tar.bz2
Invalid email address (which has invalid domain) is rejected by Email
apps. It should not be detected as email in the first place (as RFC standards 5322). As email apps reject these invalid Email-Addresses, So exclusion of improper email addresses from getting detected as email Intent, would definitely improve the User Experience & save user efforts. As per section 3.4.1 of RFC 5322 (http://tools.ietf.org/html/rfc5322#section-3.4.1). A domain is consisted as= "domain = dot-atom / domain-literal / obs-domain" A dot atom "contains no characters other than atext characters or "." surrounded by atext characters". Hence, by definition, a dot atom may not contain two or more consecutive periods. atext Reference (http://tools.ietf.org/html/rfc5322#section-3.2.3) Modified the Regex to identify the same, added more unit test cases BUG=571804 Review URL: https://codereview.chromium.org/1541093002 Cr-Commit-Position: refs/heads/master@{#366901}
Diffstat (limited to 'gpu/command_buffer/client')
0 files changed, 0 insertions, 0 deletions