Skip to content

Commit

Permalink
Revert "Update search.php"
Browse files Browse the repository at this point in the history
This reverts commit f4997c6.
  • Loading branch information
mullaneywt committed May 20, 2019
1 parent f4997c6 commit 0bfe60b
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions search.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,6 @@
$searchTerm=preg_replace("/[[:cntrl:]]/","",$_REQUEST['search']);
//Remove any extra quotes that could get passed in from some funky js or something
$searchTerm=str_replace(array("'",'"'),"",$searchTerm);
# prevent XSS script injection reported by mullaneywt
$searchKey=sanitize($searchKey);
# prevent script injection where we display the searchTerm in the title
# reported by Jacob Senn, Capital One
$searchTerm=sanitize($searchTerm);
Expand Down

0 comments on commit 0bfe60b

Please sign in to comment.