WordPress.org

Making WordPress.org

Ticket #3335: 3335.diff

File 3335.diff, 672 bytes (added by krisshannon, 4 years ago)
  • wordpress.org/public_html/wp-content/plugins/plugin-directory/zip/class-builder.php

    diff -urN a/wordpress.org/public_html/wp-content/plugins/plugin-directory/zip/class-builder.php b/wordpress.org/public_html/wp-content/plugins/plugin-directory/zip/class-builder.php
    a b  
    215215                        }
    216216
    217217                        foreach ( $checksum_output as $line ) {
    218                                 list( $checksum, $filename ) = preg_split( '!\s+!', $line );
     218                                list( $checksum, $filename ) = preg_split( '!\s+!', $line, 2 );
    219219                                $filename = trim( preg_replace( '!^./!', '', $filename ) );
    220220                                $checksum = trim( $checksum );
    221221