[wp-trac] [WordPress Trac] #48778: PDF Upload Bug in 5.3
WordPress Trac
noreply at wordpress.org
Fri Nov 29 00:54:55 UTC 2019
#48778: PDF Upload Bug in 5.3
-------------------------------+------------------------------
Reporter: cranstantinople | Owner: (none)
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Media | Version:
Severity: normal | Resolution:
Keywords: reporter-feedback | Focuses:
-------------------------------+------------------------------
Comment (by digitaldrive):
@azaozz I report Users experiencing the same issue exactly as described by
@cranstantinople above.
Appeared immediately post 5.3 upgrade, occured on more than one site and I
am able to reproduce on other WordPress sites of same system
specifications on demand.
Seems to specifically affects PDFs that are over 1MB in size (thought I
have not tested every file type/filesize combination - PDFs are critical
to us).
''PHP.ini file upload size is default of 2MB and prior to update, the same
PDF was previously able to be uploaded without issue.''
Relevant Nginx Access log except:
{{{
220.233.XXX.XXX - - [29/Nov/2019:00:39:57 +0000] "POST /wp-admin/async-
upload.php HTTP/1.1" 413 610 "https://[redacted]/wp-admin/upload.php"
"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like
Gecko) Chrome/78.0.3904.108 Safari/537.36"
}}}
Uploading a test PDF of 1.2 MB throws **HTTP 413 - Payload Too Large**
response status code.
Uploading a test PDF of 0.5MB returns 200 and is successful.
=== System Specifications
* WordPress 5.3 (upgraded from WordPress 5.2.4)
* PHP 7.2
* Nginx 1.14.0
* MySQL 5.7.28
* OS: Ubuntu 18.04.3 LTS
PHP Error log: Clean - No error recorded
No server crash/no memory errors, the sites are still functional except
PDFs over 1MB cannot be uploaded via WordPress Media Manager after site is
upgraded to WordPress 5.3
Any suggestions on resolving this issue appreciated... alternatively we
are looking at rolling back all affected sites to 5.2.4
--
Ticket URL: <https://core.trac.wordpress.org/ticket/48778#comment:5>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list