From ef555bfdc689af6ba52b6712e3a539ee7a2c784c Mon Sep 17 00:00:00 2001 From: Herman van Rink <rink@initfour.nl> Date: Sat, 22 Feb 2025 22:56:06 +0100 Subject: [PATCH] Skip appending the origin field to the name --- interface/web/dns/dns_dkim_edit.php | 2 +- interface/web/dns/templates/dns_dkim_edit.htm | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/interface/web/dns/dns_dkim_edit.php b/interface/web/dns/dns_dkim_edit.php index ce6820095d..6de2d625a8 100644 --- a/interface/web/dns/dns_dkim_edit.php +++ b/interface/web/dns/dns_dkim_edit.php @@ -100,7 +100,7 @@ class page_action extends tform_actions { // add dkim-settings to the public-key in the txt-record if (!empty($this->dataRecord['data'])) { $this->dataRecord['data']='v=DKIM1; t=s; p='.$this->dataRecord['data']; - $this->dataRecord['name']=$this->dataRecord['selector'].'._domainkey.'.$this->dataRecord['name']; + $this->dataRecord['name']=$this->dataRecord['selector'].'._domainkey'; // $this->dataRecord['ttl']=60; } // Update the serial number and timestamp of the RR record diff --git a/interface/web/dns/templates/dns_dkim_edit.htm b/interface/web/dns/templates/dns_dkim_edit.htm index 2947a2ba85..2a6a5b4fe9 100644 --- a/interface/web/dns/templates/dns_dkim_edit.htm +++ b/interface/web/dns/templates/dns_dkim_edit.htm @@ -26,7 +26,6 @@ <input type="hidden" name="id" value="{tmpl_var name='id'}"> <input type="hidden" name="zone" value="{tmpl_var name='zone'}" id="zone"> <input type="hidden" name="type" value="{tmpl_var name='type'}"> -<input type="hidden" name="name" value="{tmpl_var name='name'}"> <div class="clear"><div class="right"> <button class="btn btn-default formbutton-success" type="button" value="{tmpl_var name='btn_save_txt'}" data-submit-form="pageForm" data-form-action="dns/dns_dkim_edit.php">{tmpl_var name='btn_save_txt'}</button> -- GitLab