Skip to content

Commit

Permalink
Fix for #218
Browse files Browse the repository at this point in the history
  • Loading branch information
vvuksan committed Dec 31, 2013
1 parent 6da582e commit fbdf265
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cluster_view.php
Expand Up @@ -638,7 +638,7 @@ function get_load_heatmap($hosts_up, $host_regex, $metrics, $data) {
}

if (isset($user['host_regex']) && $user['host_regex'] != "")
$set_host_regex_value = "value='" . $user['host_regex'] . "'";
$set_host_regex_value = "value='" . htmlentities($user['host_regex'], ENT_QUOTES) . "'";
else
$set_host_regex_value = "";

Expand Down

0 comments on commit fbdf265

Please sign in to comment.