Opened 6 years ago

Closed 5 years ago

#1484687 closed Bugs (fixed)

No error given when attachment is larger than upload_max_filesize

Reported by: ZZamboni Owned by:
Priority: 5 Milestone: 0.1-stable
Component: PHP backend Version: git-master
Severity: normal Keywords: php, attachment, upload_max_filesize
Cc: diego-roundcube@…

Description

When an attachment larger than the server's upload_max_filesize parameter is uploaded, no error is produced. An error appears in the server's error log, but the transfer of the attachment continues (so to the user, it looks as if the upload took place, because of the time it takes). The attachment is not added to the message, but there is no explicit error message warning the user that it will not be transmitted.

Change History (3)

comment:1 Changed 6 years ago by thomasb

In upload.inc the error is checked against UPLOAD_ERR_INI_SIZE and UPLOAD_ERR_FORM_SIZE
Can anybody confirm this?

comment:2 Changed 6 years ago by till

I can confirm. :)

comment:3 Changed 5 years ago by seansan

  • Milestone set to 0.1-stable
  • Resolution set to fixed
  • Status changed from new to closed
Note: See TracTickets for help on using tickets.