mirror of
https://github.com/the-djmaze/snappymail.git
synced 2026-08-28 19:49:20 +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
|
|
@ -57,7 +57,7 @@ class ChangePasswordHMailServerDriver
|
|||
$this->oConfig->Get('plugin', 'hmailserver_password', '')
|
||||
)) {
|
||||
$sEmail = $oAccount->Email();
|
||||
$sDomain = \MailSo\Base\Utils::GetDomainFromEmail($sEmail);
|
||||
$sDomain = \MailSo\Base\Utils::getEmailAddressDomain($sEmail);
|
||||
$oHmailDomain = $oHmailApp->Domains->ItemByName($sDomain);
|
||||
if ($oHmailDomain) {
|
||||
$oHmailAccount = $oHmailDomain->Accounts->ItemByAddress($sEmail);
|
||||
|
|
|
|||
|
|
@ -6,9 +6,9 @@ class ChangePasswordHMailServerPlugin extends \RainLoop\Plugins\AbstractPlugin
|
|||
{
|
||||
const
|
||||
NAME = 'Change Password hMailServer',
|
||||
VERSION = '2.0',
|
||||
RELEASE = '2022-10-14',
|
||||
REQUIRED = '2.15.3',
|
||||
VERSION = '2.1',
|
||||
RELEASE = '2024-03-12',
|
||||
REQUIRED = '2.35.3',
|
||||
CATEGORY = 'Security',
|
||||
DESCRIPTION = 'Extension to allow users to change their passwords through hMailServer';
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue