mirror of
https://github.com/the-djmaze/snappymail.git
synced 2026-08-29 20:19:22 +03:00
Prevent domain uppercase issues
https://github.com/the-djmaze/snappymail/issues/689#issuecomment-1324091032
This commit is contained in:
parent
288e1c8742
commit
6d4f626cd6
1 changed files with 1 additions and 1 deletions
|
|
@ -57,7 +57,7 @@ class Domain extends AbstractProvider
|
|||
|
||||
public function LoadOrCreateNewFromAction(\RainLoop\Actions $oActions, string $sNameForTest = null) : ?\RainLoop\Model\Domain
|
||||
{
|
||||
$sName = (string) $oActions->GetActionParam('Name', '');
|
||||
$sName = \mb_strtolower((string) $oActions->GetActionParam('Name', ''));
|
||||
if (\strlen($sName) && $sNameForTest && !\str_contains($sName, '*')) {
|
||||
$sNameForTest = null;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue