Skip to content

Commit

Permalink
Merge pull request #1634 from OCSInventory-NG/fixFuncTableHtml
Browse files Browse the repository at this point in the history
Fix URL sanitization in ajaxtab_entete_fixe function
  • Loading branch information
charleneauger authored Sep 23, 2024
2 parents d18e999 + 238bfb4 commit 5fae311
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion require/function_table_html.php
Original file line number Diff line number Diff line change
Expand Up @@ -340,7 +340,7 @@ function checkall()
"serverSide": true,
"dom": dom,
"ajax": {
'url': '<?php echo preg_replace("/[^A-Za-z0-9\._\-?=&%]/", "",$address); ?>&no_header=true&no_footer=true',
'url': '<?php echo preg_replace("/[^A-Za-z0-9\._\-?=&%+;\/:()~]/", "",$address); ?>&no_header=true&no_footer=true',
"type": "POST",
//Error handling
"error": function (xhr, error, thrown) {
Expand Down

0 comments on commit 5fae311

Please sign in to comment.