File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -216,7 +216,7 @@ function remove_item(origin)
216
216
} ?> " style="margin:0px;" <?php if ($ ajax_search ) {
217
217
echo ' onsubmit="valide();" ' ;
218
218
}?> >
219
- <legend><?php echo $ tool_name .' ( ' .$ session_info ['name ' ].') ' ; ?> </legend>
219
+ <legend><?php echo $ tool_name .' ( ' .Security:: remove_XSS ( $ session_info ['name ' ]) .') ' ; ?> </legend>
220
220
<input type="hidden" name="formSent" value="1" />
221
221
<div id="multiple-add-session" class="row">
222
222
<div class="col-md-4">
Original file line number Diff line number Diff line change @@ -588,7 +588,7 @@ function change_select(val) {
588
588
} ?> " <?php if ($ ajax_search ) {
589
589
echo ' onsubmit="valide();" ' ;
590
590
} ?> >
591
- <?php echo '<legend> ' .$ tool_name .' ( ' .$ session_info ['name ' ].') </legend> ' ; ?>
591
+ <?php echo '<legend> ' .$ tool_name .' ( ' .Security:: remove_XSS ( $ session_info ['name ' ]) .') </legend> ' ; ?>
592
592
<?php
593
593
if ($ add_type == 'multiple ' ) {
594
594
if (is_array ($ extra_field_list )) {
You can’t perform that action at this time.
0 commit comments