Skip to content
Snippets Groups Projects
Commit 9979311c authored by Marius Burkard's avatar Marius Burkard
Browse files

Merge branch 'stable-3.1' into 'stable-3.1'

Fix stored xss when user import from zone file or dns template editor

See merge request webdev/ispconfig3!2
parents 68b8730c e637b759
No related branches found
No related tags found
1 merge request!704Stable 3.1
......@@ -51,9 +51,9 @@ class page_action extends dns_page_action {
// Split the 3 parts of the SRV Record apart
$split = explode(' ', $this->dataRecord['data']);
$app->tpl->setVar('weight', $split[0]);
$app->tpl->setVar('port', $split[1]);
$app->tpl->setVar('target', $split[2]);
$app->tpl->setVar('weight', $split[0], true);
$app->tpl->setVar('port', $split[1], true);
$app->tpl->setVar('target', $split[2], true);
parent::onShowEnd();
}
......
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