diff options
author | Harald Eilertsen <haraldei@anduin.net> | 2024-11-16 13:45:36 +0100 |
---|---|---|
committer | Harald Eilertsen <haraldei@anduin.net> | 2024-11-16 13:45:36 +0100 |
commit | 5b7f8d986ccbb794092d917a5156c663c48dbea2 (patch) | |
tree | c6b9a110279f314569cc60a94dc2306f6877ea8e /tests/unit | |
parent | 5dee6007352c7fd987775307926c381e6fba032e (diff) | |
download | volse-hubzilla-5b7f8d986ccbb794092d917a5156c663c48dbea2.tar.gz volse-hubzilla-5b7f8d986ccbb794092d917a5156c663c48dbea2.tar.bz2 volse-hubzilla-5b7f8d986ccbb794092d917a5156c663c48dbea2.zip |
Fix #1879: Emails with + in local part was rejected.
Diffstat (limited to 'tests/unit')
-rw-r--r-- | tests/unit/includes/NetworkTest.php | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/tests/unit/includes/NetworkTest.php b/tests/unit/includes/NetworkTest.php index a41075f25..ea1fd6fa0 100644 --- a/tests/unit/includes/NetworkTest.php +++ b/tests/unit/includes/NetworkTest.php @@ -60,7 +60,11 @@ class NetworkTest extends Zotlabs\Tests\Unit\UnitTestCase { ['some.email@example.cancerresearch', true], // And internationalized TLD's - ['some.email@example.شبكة', true] + ['some.email@example.شبكة', true], + + // Allow plus/minus addressing + ['address+tag@example.com', true], + ['address-tag@example.com', true], ]; } } |