Branch: refs/heads/master
Home: https://github.com/s9y/Serendipity
Commit: 61c420aed791cc9ea3a3c3393f546695d67bba7c
https://github.com/s9y/Serendipity/commit/61c420aed791cc9ea3a3c3393f546695d67bba7c
Author: GuillaumeValadas <gui...@gm...>
Date: 2024-08-15 (Thu, 15 Aug 2024)
Changed paths:
M include/db/mysqli.inc.php
M include/functions_entries.inc.php
Log Message:
-----------
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 <380...@us...>
* Update functions_entries.inc.php
Co-authored-by: Garvin Hicking <380...@us...>
* #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 <bl...@ga...>
Co-authored-by: Garvin Hicking <380...@us...>
To unsubscribe from these emails, change your notification settings at https://github.com/s9y/Serendipity/settings/notifications
|