summaryrefslogtreecommitdiffstats
path: root/system/database/DB_driver.php
diff options
context:
space:
mode:
authorvlakoff <vlakoff@gmail.com>2017-02-16 01:31:59 +0100
committervlakoff <vlakoff@gmail.com>2017-02-16 01:34:17 +0100
commit5b0d89da6a0e66f0f10f7fa43383290c99193bdb (patch)
tree373eab5ad1c933dff9e5649c2c278acf3da25c1c /system/database/DB_driver.php
parent7c25e642a1741fcba5a82a17b110332095ea3faa (diff)
Do not strip substrings looking like URL encode sequences
Diffstat (limited to 'system/database/DB_driver.php')
-rw-r--r--system/database/DB_driver.php2
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));
}
// --------------------------------------------------------------------