Skip to content

Commit

Permalink
add exclude to xss check
Browse files Browse the repository at this point in the history
  • Loading branch information
sni committed Jul 27, 2023
1 parent 9d2784a commit f03ab9a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions t/083-xss.t
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ my $whitelist_vars = Thruk::Base::array2hash([qw/
c.config.jquery_ui c.config.start_page c.config.home_link
host_health_cls service_health_cls host_perc opt_class ok_pct w_pct u_pct c_pct p_pct
s.cpu_perc perc plugin_name plugin_editor_path shinken_features_path l.0 l.1
prev_host_empty
/]);
my $whitelist_regex = [
qr/^\w+\.(id|nr)$/,
Expand Down

0 comments on commit f03ab9a

Please sign in to comment.