Skip to content
Snippets Groups Projects
Commit e6cbe72d authored by Till's avatar Till
Browse files

Fixes #6640 DKIM key not generated for IDN domain

parent 4e95e606
No related branches found
No related tags found
1 merge request!18493.2.11p2 fixes
Pipeline #14282 passed
...@@ -34,8 +34,10 @@ require_once '../../lib/app.inc.php'; ...@@ -34,8 +34,10 @@ require_once '../../lib/app.inc.php';
//* Check permissions for module //* Check permissions for module
$app->auth->check_module_permissions('mail'); $app->auth->check_module_permissions('mail');
$app->uses('functions');
$type = $_GET['type']; $type = $_GET['type'];
$domain_id = $_GET['domain_id']; $domain_id = $app->functions->idn_encode($_GET['domain_id']);
if($type == 'create_dkim' && $domain_id != ''){ if($type == 'create_dkim' && $domain_id != ''){
$dkim_public = $_GET['dkim_public']; $dkim_public = $_GET['dkim_public'];
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment