diff options
author | Greg Aker <greg@gregaker.net> | 2012-02-06 01:40:03 +0100 |
---|---|---|
committer | Greg Aker <greg@gregaker.net> | 2012-02-06 01:40:03 +0100 |
commit | 082a383a26f0f36685c6b5bdddc44f10eceafcb8 (patch) | |
tree | 02ad420bf5ec25e6e3379e1f821e4e029b00f828 /system/core/Input.php | |
parent | b211adee89f5fd2192051e9c0826146bd150f469 (diff) | |
parent | d63e40138e675df40f3a17e04972e82e7a748307 (diff) |
Merge pull request #1016 from kevincupp/develop
Adding in a few 503 status codes for common errors
Diffstat (limited to 'system/core/Input.php')
-rwxr-xr-x | system/core/Input.php | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/system/core/Input.php b/system/core/Input.php index 7a16e51ab..3339d97c5 100755 --- a/system/core/Input.php +++ b/system/core/Input.php @@ -592,6 +592,7 @@ class CI_Input { { if ( ! preg_match('/^[a-z0-9:_\/-]+$/i', $str)) { + set_status_header(503); exit('Disallowed Key Characters.'); } |