From 21cdaaaa73d0c73869a6463f179ff47364260b7c Mon Sep 17 00:00:00 2001 From: Florian Schaal <florian@schaal-24.de> Date: Thu, 30 Oct 2014 12:50:50 -0400 Subject: [PATCH] fixed template and query in mail_domain_dkim.js --- interface/web/js/mail_domain_dkim.js | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/interface/web/js/mail_domain_dkim.js b/interface/web/js/mail_domain_dkim.js index 635bca0..fdc7ae5 100755 --- a/interface/web/js/mail_domain_dkim.js +++ b/interface/web/js/mail_domain_dkim.js @@ -66,7 +66,7 @@ } var selector=jQuery('#dkim_selector').val(); var publickey=jQuery('#dkim_public').val(); - var privatekey=jQuery('#dkim_private').val(); + var privatekey=encodeURIComponent(document.getElementById("dkim_private").value) request.open('POST', 'mail/mail_domain_dkim_create.php', true); request.setRequestHeader('Content-Type', 'application/x-www-form-urlencoded'); request.send('domain='+domain+'&action='+action+'&dkim_selector='+selector+'&dkim_public='+publickey+'&dkim_private='+privatekey); -- Gitblit v1.9.1