mirror of
https://github.com/pfsense/pfsense.git
synced 2025-10-26 11:38:35 +00:00
Remove also . and / from graph
This commit is contained in:
parent
2d1e985d2b
commit
4f380b62d5
@ -57,7 +57,7 @@ if ($_GET['style']) {
|
||||
|
||||
/* this is used for temp name */
|
||||
if ($_GET['graph']) {
|
||||
$curgraph = str_replace(array("<", ">", ";", "&", "'", '"'), "", htmlspecialchars_decode($_GET['graph'], ENT_QUOTES | ENT_HTML401));
|
||||
$curgraph = str_replace(array("<", ">", ";", "&", "'", '"', '.', '/'), "", htmlspecialchars_decode($_GET['graph'], ENT_QUOTES | ENT_HTML401));
|
||||
} else {
|
||||
$curgraph = "custom";
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user