summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorvlakoff <vlakoff@gmail.com>2017-02-16 01:31:59 +0100
committerAndrey Andreev <narf@devilix.net>2017-02-20 10:48:21 +0100
commitf0093f99762098231f6f707d2f87fdbd02eb3dca (patch)
tree86f2e2999187b959d9f9cf7dcc8ea78973111103
parent56d1a70e8149529058e442f4876e90ff963c533a (diff)
Do not strip substrings looking like URL encode sequences
-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 e52eb5c06..3eb51f734 100644
--- a/system/database/DB_driver.php
+++ b/system/database/DB_driver.php
@@ -1180,7 +1180,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));
}
// --------------------------------------------------------------------