mirror of
https://github.com/MindWorkAI/AI-Studio.git
synced 2026-11-25 07:13:50 +00:00
Fixed signing in to mailboxes with characters beyond ASCII in the username or password (#1224)
Co-authored-by: Thorsten Sommer <SommerEngineering@users.noreply.github.com>
This commit is contained in:
1 parent
f6a4348820
commit
c72a1948b3
27 files changed
+1052
-30
No files matched your search
@@ -46,6 +46,17 @@ public sealed class MailboxProviderTemplatesTests
|
||||
}
|
||||
}
|
||||
|
||||
[TestCase("imap.gmail.com", "Gmail")]
|
||||
[TestCase(" IMAP.Mailbox.ORG. ", "mailbox.org")]
|
||||
[TestCase("posteo.de", "Posteo")]
|
||||
public void AHostFindsItsProvider(string host, string expectedName) => Assert.That(MailboxProviderTemplates.FindByHost(host)?.Name, Is.EqualTo(expectedName));
|
||||
|
||||
[TestCase("")]
|
||||
[TestCase("exchange.intra.example.org")]
|
||||
[TestCase("imap.gmail.com.example.org")]
|
||||
[TestCase("not a host")]
|
||||
public void AnotherHostFindsNoProvider(string host) => Assert.That(MailboxProviderTemplates.FindByHost(host), Is.Null);
|
||||
|
||||
[Test]
|
||||
public void EveryRequirementHasItsOwnDescription()
|
||||
{
|
||||
|
||||
Reference in new issue
Block a user