1
0
mirror of https://github.com/bitwarden/server.git synced 2025-01-19 21:21:22 +01:00
bitwarden-server/test/Core.Test/Utilities
Thomas Rittson e1908cd6b5
Add support for international domain names (IDN) in email addresses (#1512)
* Adjust email address checking to handle unicode

* ASCII only in local part
* allow unicode in second-level and top-level domain

* Add PunyEncoding/Decoding methods and tests

* Use PunyEncoding for outbound email recipients

* Use MailKit for punycode, handle edge cases

* Punyencode all email addresses in mailServices

* Remove punyencoding from HandlebarsMailService

* Add to punyencoding tests

* Use more inclusive e-mail error

* Fix comment wording

* Apply StrictEmail checking to emergency access invite

* Remove punyDecode helper
2021-08-31 13:49:11 +10:00
..
CoreHelpersTests.cs Add support for international domain names (IDN) in email addresses (#1512) 2021-08-31 13:49:11 +10:00
EncryptedStringAttributeTests.cs Add unit test coverage for EncryptedStringAttribute 2020-06-04 13:22:34 -07:00
SelfHostedAttributeTests.cs Use sas token for attachment downloads (#1153) 2021-02-22 15:35:16 -06:00
StrictEmailAddressAttributeTests.cs Add support for international domain names (IDN) in email addresses (#1512) 2021-08-31 13:49:11 +10:00