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

WordPress Trac noreply at wordpress.org
Thu Apr 4 19:28:37 UTC 2024


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

 * status:  reopened => closed
 * resolution:   => fixed


Comment:

 In [changeset:"57929" 57929]:
 {{{
 #!CommitTicketReference repository="" revision="57929"
 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].

 Reviewed by jorbin.
 Merges [57537] to the 6.4 branch.

 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:121>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list