mirror of
https://github.com/pfsense/pfsense.git
synced 2025-10-26 11:38:35 +00:00
Fix #2952, escape necessary chars to avoid xss injection
This commit is contained in:
parent
429f454de6
commit
d210dddff3
@ -181,7 +181,7 @@ if ($g['platform'] == "nanobsd") {
|
||||
$txt .= " " . gettext("NanoBSD Size") . " : " . trim(file_get_contents("/etc/nanosize.txt")) . "\\n";
|
||||
}
|
||||
$txt .= " " . gettext("Built On") .": ". $current_installed_buildtime . "\\n";
|
||||
$txt .= " " . gettext("New version") .": ". $remote_version . "\\n\\n";
|
||||
$txt .= " " . gettext("New version") .": ". addslashes($remote_version) . "\\n\\n";
|
||||
$txt .= " " . gettext("Update source") .": ". $updater_url . "\\n";
|
||||
update_output_window($txt);
|
||||
?>
|
||||
|
||||
Loading…
Reference in New Issue
Block a user