diff options
Diffstat (limited to 'system/application/controllers')
-rw-r--r-- | system/application/controllers/file.php | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/system/application/controllers/file.php b/system/application/controllers/file.php index adde14927..a11255986 100644 --- a/system/application/controllers/file.php +++ b/system/application/controllers/file.php @@ -124,8 +124,12 @@ class File extends Controller { // support textareas on the upload form // XXX: This requires users of suhosin to adjust maxium post and request size // TODO: merge with do_upload() + // XXX: this is too vulnerable to bots function do_paste() { + // FIXME: disable until bot problem is really fixed + return $this->upload_form(); + $data = array(); $content = $this->input->post('content')."\n"; $extension = $this->input->post('extension'); |