Skip to content

Commit

Permalink
XSS fix (#1017)
Browse files Browse the repository at this point in the history
Fix for issue #1010
  • Loading branch information
reboot1983 authored and ronytomen committed Oct 7, 2017
1 parent 954fc09 commit 93f661d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions include/global_session.php
Expand Up @@ -84,11 +84,11 @@
var cactiVersion='<?php print $config['cacti_version'];?>';
var theme='<?php print get_selected_theme();?>';
var refreshIsLogout=<?php print $refreshIsLogout;?>;
var refreshPage='<?php print $myrefresh['page'];?>';
var refreshPage='<?php print htmlspecialchars($myrefresh['page']);?>';
var refreshMSeconds=<?php print $myrefresh['seconds']*1000;?>;
var urlPath='<?php print $config['url_path'];?>';
var previousPage='';
var requestURI='<?php print $_SERVER['REQUEST_URI'];?>';
var requestURI='<?php print htmlspecialchars($_SERVER['REQUEST_URI']);?>';
var searchFilter='<?php print __('Enter a search term');?>';
var searchRFilter='<?php print __('Enter a regular expression');?>';
var noFileSelected='<?php print __('No file selected');?>';
Expand Down

0 comments on commit 93f661d

Please sign in to comment.