diff options
author | vlakoff <vlakoff@gmail.com> | 2017-02-16 01:31:59 +0100 |
---|---|---|
committer | vlakoff <vlakoff@gmail.com> | 2017-02-16 01:34:17 +0100 |
commit | 5b0d89da6a0e66f0f10f7fa43383290c99193bdb (patch) | |
tree | 373eab5ad1c933dff9e5649c2c278acf3da25c1c | |
parent | 7c25e642a1741fcba5a82a17b110332095ea3faa (diff) |
Do not strip substrings looking like URL encode sequences
-rw-r--r-- | system/database/DB_driver.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/system/database/DB_driver.php b/system/database/DB_driver.php index 161e0e225..de599a675 100644 --- a/system/database/DB_driver.php +++ b/system/database/DB_driver.php @@ -1118,7 +1118,7 @@ abstract class CI_DB_driver { */ protected function _escape_str($str) { - return str_replace("'", "''", remove_invisible_characters($str)); + return str_replace("'", "''", remove_invisible_characters($str, FALSE)); } // -------------------------------------------------------------------- |