As discovered in T173374: Deleting file on Commons "Error deleting file: An unknown error occurred in storage backend "local-multiwrite"." a big X-Content-Dimensions header might also prevent deletion of files. We should list all originals types that can be multipage (and thus might contain a big X-C-D header) and send a X-Remove-Content-Dimensions header to remove said header.
Description
Description
Details
Details
Related Changes in Gerrit:
| Subject | Repo | Branch | Lines +/- | |
|---|---|---|---|---|
| Clean up X-Content-Dimensions | mediawiki/core | master | +22 -1 |
| Status | Subtype | Assigned | Task | ||
|---|---|---|---|---|---|
| Resolved | • Gilles | T121388 Service-based thumbnailing re-architecture in production with Thumbor | |||
| Declined | • Gilles | T150741 Thumbor should reject thumbnail requests that are the same size as the original or bigger | |||
| Declined | • Gilles | T167034 Limit maximum x-content-dimension size to avoid hitting nginx limits | |||
| Resolved | • Gilles | T175689 Remove X-Content-Dimensions for multipage originals | |||
| Invalid | fgiunchedi | T179595 Find and clear oversized x-content-dimensions headers |
Event Timeline
Comment Actions
Change 379528 had a related patch set uploaded (by Gilles; owner: Gilles):
[mediawiki/core@master] Clean up X-Content-Dimensions
Comment Actions
Change 379528 merged by jenkins-bot:
[mediawiki/core@master] Clean up X-Content-Dimensions
Comment Actions
Started running the cleanup script on Terbium, clearing the header for TIFFs, PDFs and DJVUs.
Comment Actions
Cleanup of non-Commons wikis complete, started the cleanup of Commons. There are 1.2 million files to process there, at the current rate it's going to take approximately 9 days to complete.