When uploading a file in the control panel that exceeds post_max_size, the resulting error message should explain that the file is too large (similar to error when upload_max_filesize is exceeded
Actual behaviour
After file uploads completely, simple "Unauthorized" message is shown in the the CP. When looking at the web console, actual response indicates TokenMismatchException with redirect URL to login page.
Steps to reproduce
In the CP, upload an asset smaller than upload_max_filesize yet larger than post_max_size
See "unauthorized" message
Server Details
Operating System:
Ubuntu 16.04.1
Web Server:
nginx
PHP Version:
7.1 (updated via Laravel forge from 7.0)
Statamic Version:
2.6.3
Updated from an older Statamic or fresh install:
updated
Expected behaviour
When uploading a file in the control panel that exceeds post_max_size, the resulting error message should explain that the file is too large (similar to error when upload_max_filesize is exceeded
Actual behaviour
After file uploads completely, simple "Unauthorized" message is shown in the the CP. When looking at the web console, actual response indicates TokenMismatchException with redirect URL to login page.
Steps to reproduce
Server Details
Operating System: Ubuntu 16.04.1
Web Server: nginx
PHP Version: 7.1 (updated via Laravel forge from 7.0)
Statamic Version: 2.6.3 Updated from an older Statamic or fresh install: updated
Logs
TokenMismatchException
is no longer logged