summaryrefslogtreecommitdiffstats
path: root/system/libraries/Input.php
diff options
context:
space:
mode:
authorDerek Jones <derek.jones@ellislab.com>2008-07-03 23:58:15 +0200
committerDerek Jones <derek.jones@ellislab.com>2008-07-03 23:58:15 +0200
commitdd7f4a995ee2c7042bc6be51a3c754aa5e077d39 (patch)
tree94e77d503cb0d4899945db839a47bf1e7588bc99 /system/libraries/Input.php
parent68d7bd62840b1154a4a6d9b5caa41cbdd73a851a (diff)
re-included URL encoded characters within _remove_invisible_characters() which were mistakenly pulled out in a previous commit, not released
Diffstat (limited to 'system/libraries/Input.php')
-rw-r--r--system/libraries/Input.php4
1 files changed, 3 insertions, 1 deletions
diff --git a/system/libraries/Input.php b/system/libraries/Input.php
index 7465021c6..24c6c1967 100644
--- a/system/libraries/Input.php
+++ b/system/libraries/Input.php
@@ -828,8 +828,10 @@ class CI_Input {
if ( ! isset($non_displayables))
{
- // every control character except newline (10), carriage return (13), and horizontal tab (09),
+ // every control character except newline (dec 10), carriage return (dec 13), and horizontal tab (dec 09),
$non_displayables = array(
+ '/%0[0-8bcef]/', // url encoded 00-08, 11, 12, 14, 15
+ '/%1[0-9a-f]/', // url encoded 16-31
'/[\x00-\x08]/', // 00-08
'/\x0b/', '/\x0c/', // 11, 12
'/[\x0e-\x1f]/' // 14-31