Blacklist pdf
1 unresolved thread
1 unresolved thread
visto che sempre piu' utenti segnalano errori nell'upload di files pdf e che mat2 converte i pdf in immagini con conseguente significativo aumento delle dimensioni, disattiverei la rimozione dei metadati dai pdf.
Merge request reports
Activity
added 1 commit
- aa7f4f2e - do not remove metadata from pdf - and commit...
26 26 27 27 // Check if the mime type is one of those we want to clean up. 28 28 // Use a blacklist, currently empty. Send everything by default 29 // except video. 29 // except video, and pdf. 30 30 function is_supported_mime_type($mimetype) { 31 31 if (substr($mimetype, 0, 6) === "video/") { 32 32 return false; 33 if (substr($mimetype, 0, 15) === "application/pdf") { changed this line in version 2 of the diff
mentioned in commit 856b3fe9
Please register or sign in to reply