mirror of
https://github.com/the-djmaze/snappymail.git
synced 2026-09-07 16:37:02 +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
|
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, '*')) {
|
if (\strlen($sName) && $sNameForTest && !\str_contains($sName, '*')) {
|
||||||
$sNameForTest = null;
|
$sNameForTest = null;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue