diff options
Diffstat (limited to 'system/application/controllers/file.php')
-rw-r--r-- | system/application/controllers/file.php | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/system/application/controllers/file.php b/system/application/controllers/file.php index e42d1d3db..4fed02599 100644 --- a/system/application/controllers/file.php +++ b/system/application/controllers/file.php @@ -129,6 +129,9 @@ class File extends Controller { $data = array(); $content = $this->input->post('content')."\n"; $extension = $this->input->post('extension'); + // Try to filter spambots + if ($this->input->post("email") != "") return; + // prevent empty pastes from the upload form if($content === "\n") { $this->upload_form(); |