[wp-trac] [WordPress Trac] #60398: WordPress 6.4.3 MacOS Compressed Zip plugin archives "Incompatible Archive" on upload

WordPress Trac noreply at wordpress.org
Mon Feb 5 22:21:51 UTC 2024


#60398: WordPress 6.4.3 MacOS Compressed Zip plugin archives "Incompatible Archive"
on upload
-------------------------------------------------+-------------------------
 Reporter:  Endymion00                           |       Owner:
                                                 |  peterwilsoncc
     Type:  defect (bug)                         |      Status:  closed
 Priority:  normal                               |   Milestone:  6.4.4
Component:  Upload                               |     Version:  6.4.3
 Severity:  normal                               |  Resolution:  fixed
 Keywords:  needs-testing has-patch has-unit-    |     Focuses:
  tests                                          |
-------------------------------------------------+-------------------------
Changes (by peterwilsoncc):

 * owner:  (none) => peterwilsoncc
 * status:  new => closed
 * resolution:   => fixed


Comment:

 In [changeset:"57537" 57537]:
 {{{
 #!CommitTicketReference repository="" revision="57537"
 Upload: Fallback to `PclZip` to validate ZIP file uploads.

 `ZipArchive` can fail to validate ZIP files correctly and report valid
 files as invalid. This introduces a fallback to `PclZip` to check validity
 of files if `ZipArchive` fails them.

 This introduces the new function `wp_zip_file_is_valid()` to validate
 archives.

 Follow up to [57388].

 Props audunmb, azaozz, britner, cdevroe, colorful-tones, costdev,
 courane01, endymion00, feastdesignco, halounsbury, jeffpaul, johnbillion,
 jorbin, jsandtro, karinclimber, kevincoleman, koesper, maartenbelmans,
 mathewemoore, melcarthus, mujuonly, nerdpressteam, olegfuture, otto42,
 peterwilsoncc, room34, sayful, schutzsmith, stephencronin, svitlana41319,
 swissspidy, tnolte, tobiasbg, vikram6, welaunchio.
 Fixes #60398.
 }}}

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/60398#comment:69>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list