mirror of
https://github.com/pfsense/pfsense.git
synced 2025-10-26 11:38:35 +00:00
Ensure the current RRD graph category is encoded before display
This commit is contained in:
parent
05da124c0c
commit
5bf478ac2e
@ -409,7 +409,7 @@ function get_dates($curperiod, $graph) {
|
||||
<table width="100%" border="0" cellpadding="0" cellspacing="0" summary="rrd graphs">
|
||||
<tr>
|
||||
<td>
|
||||
<input type="hidden" name="cat" value="<?php echo "$curcat"; ?>" />
|
||||
<input type="hidden" name="cat" value="<?php echo htmlspecialchars($curcat); ?>" />
|
||||
<?php
|
||||
$tab_array = array();
|
||||
if($curcat == "system") { $tabactive = True; } else { $tabactive = False; }
|
||||
|
||||
Loading…
Reference in New Issue
Block a user