Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix search issue with special characters, and escape them in SQL. #844 (
#846) * Fix search issue with special characters, and escape them in SQL. #844 * Update functions_entries.inc.php Co-authored-by: Garvin Hicking <[email protected]> * Update functions_entries.inc.php Co-authored-by: Garvin Hicking <[email protected]> * #844 Simplify code removing If statement because we escape term search anyway + change alias to mysqli_real_escape_string * Issue #844 Bring back if statement to switch over boolean mode or not + change regex to only catch BOOLEAN Operator that prefix a word * Update regex boolean mode is trigger only on operator followed by words * Fix typo on regex * #844 add another regex to avoid boolean operator alone that could lead to error --------- Co-authored-by: Garvin Hicking <[email protected]> Co-authored-by: Garvin Hicking <[email protected]>
- Loading branch information