mirror of
https://github.com/the-djmaze/snappymail.git
synced 2026-10-29 00:23:33 +03:00
Improved handling of Internationalized Domain Names in punycode
This commit is contained in:
parent
fd54796710
commit
696a2bbd3c
45 changed files with 661 additions and 236 deletions
|
|
@ -4,9 +4,9 @@ class LoginOverridePlugin extends \RainLoop\Plugins\AbstractPlugin
|
|||
{
|
||||
const
|
||||
NAME = 'Login Override',
|
||||
VERSION = '2.2',
|
||||
RELEASE = '2023-02-08',
|
||||
REQUIRED = '2.25.3',
|
||||
VERSION = '2.3',
|
||||
RELEASE = '2024-03-12',
|
||||
REQUIRED = '2.35.3',
|
||||
CATEGORY = 'Filters',
|
||||
DESCRIPTION = 'Override IMAP/SMTP login credentials for specific users.';
|
||||
|
||||
|
|
@ -50,10 +50,10 @@ class LoginOverridePlugin extends \RainLoop\Plugins\AbstractPlugin
|
|||
$line = \explode(':', $line, 3);
|
||||
if (!empty($line[0]) && $line[0] === $sEmail) {
|
||||
if (!empty($line[1])) {
|
||||
$oSettings->Login = $line[1];
|
||||
$oSettings->username = $line[1];
|
||||
}
|
||||
if (!empty($line[2])) {
|
||||
$oSettings->Password = $line[2];
|
||||
$oSettings->passphrase = $line[2];
|
||||
}
|
||||
break;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue