Skip to content

Commit e6cbe72

Browse files
committed
Fixes #6640 DKIM key not generated for IDN domain
1 parent 4e95e60 commit e6cbe72

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

interface/web/mail/ajax_get_json.php

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,8 +34,10 @@
3434
//* Check permissions for module
3535
$app->auth->check_module_permissions('mail');
3636

37+
$app->uses('functions');
38+
3739
$type = $_GET['type'];
38-
$domain_id = $_GET['domain_id'];
40+
$domain_id = $app->functions->idn_encode($_GET['domain_id']);
3941

4042
if($type == 'create_dkim' && $domain_id != ''){
4143
$dkim_public = $_GET['dkim_public'];

0 commit comments

Comments
 (0)