Fix XSS in zoom search
Signed-off-by: Madhura Jayaratne <madhura.cj@gmail.com>
This commit is contained in:
parent
ac81596bfc
commit
9f3488fc3a
@ -1017,14 +1017,14 @@ EOT;
|
||||
$value[$i] = $properties['value'];
|
||||
}
|
||||
//Column type
|
||||
$html_output .= '<td>' . (isset($type[$i]) ? $type[$i] : '') . '</td>';
|
||||
$html_output .= '<td>' . (isset($type[$i]) ? htmlspecialchars($type[$i]) : '') . '</td>';
|
||||
//Column Collation
|
||||
$html_output .= '<td>' . (isset($collation[$i]) ? $collation[$i] : '')
|
||||
. '</td>';
|
||||
//Select options for column operators
|
||||
$html_output .= '<td>' . (isset($func[$i]) ? $func[$i] : '') . '</td>';
|
||||
//Inputbox for search criteria value
|
||||
$html_output .= '<td>' . (isset($value[$i]) ? $value[$i] : '') . '</td>';
|
||||
$html_output .= '<td>' . (isset($value[$i]) ? htmlspecialchars($value[$i]) : '') . '</td>';
|
||||
$html_output .= '</tr>';
|
||||
//Displays hidden fields
|
||||
$html_output .= '<tr><td>';
|
||||
|
||||
Loading…
Reference in New Issue
Block a user