mirror of
https://github.com/the-djmaze/snappymail.git
synced 2026-08-25 10:09:20 +03:00
Fix mailto lowercase
This commit is contained in:
parent
5d6ca00687
commit
25624c280d
2 changed files with 2 additions and 2 deletions
|
|
@ -797,7 +797,7 @@ class Actions
|
||||||
{
|
{
|
||||||
\RainLoop\Utils::SetCookie(self::AUTH_MAILTO_TOKEN_KEY,
|
\RainLoop\Utils::SetCookie(self::AUTH_MAILTO_TOKEN_KEY,
|
||||||
\RainLoop\Utils::EncodeKeyValues(array(
|
\RainLoop\Utils::EncodeKeyValues(array(
|
||||||
'Time' => microtime(true),
|
'Time' => \microtime(true),
|
||||||
'MailTo' => 'MailTo',
|
'MailTo' => 'MailTo',
|
||||||
'To' => $sTo
|
'To' => $sTo
|
||||||
)), 0, '/', null, null, true);
|
)), 0, '/', null, null, true);
|
||||||
|
|
|
||||||
|
|
@ -745,7 +745,7 @@ class ServiceActions
|
||||||
$oAccount = $this->oActions->GetAccountFromSignMeToken();
|
$oAccount = $this->oActions->GetAccountFromSignMeToken();
|
||||||
if ($oAccount)
|
if ($oAccount)
|
||||||
{
|
{
|
||||||
$this->oActions->SetMailtoRequest(\MailSo\Base\Utils::StrToLowerIfAscii($sTo));
|
$this->oActions->SetMailtoRequest($sTo);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue