mirror of
https://github.com/unraid/webgui.git
synced 2026-04-24 19:29:13 -05:00
Merge pull request #908 from Squidly271/patch-33
dockerMan Security: Remove HTML tags from Config elements
This commit is contained in:
@@ -140,7 +140,7 @@ function xmlToVar($xml) {
|
||||
break;
|
||||
}
|
||||
}
|
||||
$c[$key] = $value;
|
||||
$c[$key] = strip_tags(html_entity_decode($value));
|
||||
}
|
||||
$out['Config'][] = $c;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user