Skip to content

Commit 68b8730

Browse files
author
Marius Burkard
committed
- fixed reflection XSS in dns spf form
1 parent 5008d8c commit 68b8730

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

interface/web/dns/dns_spf_edit.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -108,9 +108,9 @@ function onShowEnd() {
108108
}
109109

110110
//set html-values
111-
$app->tpl->setVar("spf_ip", $spf_ip);
112-
$app->tpl->setVar("spf_hostname", $spf_hostname);
113-
$app->tpl->setVar("spf_domain", $spf_domain);
111+
$app->tpl->setVar("spf_ip", $spf_ip, true);
112+
$app->tpl->setVar("spf_hostname", $spf_hostname, true);
113+
$app->tpl->setVar("spf_domain", $spf_domain, true);
114114
//create spf-mechanism-list
115115
$spf_mechanism_value = array(
116116
'+' => 'spf_mechanism_pass_txt',

0 commit comments

Comments
 (0)