Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[stable12] Patch ZipStreamer to fix directory downloads #75

Merged
merged 1 commit into from
Jan 10, 2018

Conversation

nickvergessen
Copy link
Member

@nickvergessen nickvergessen commented Jan 5, 2018

Backport of #74

@nickvergessen nickvergessen added this to the Nextcloud 12.0.5 milestone Jan 5, 2018
@@ -525,7 +525,7 @@ private function buildCentralDirectoryHeader($filePath, $timestamp, $gpFlags,
private function buildEndOfCentralDirectoryRecord($cdRecLength) {
if ($this->zip64) {
$diskNumber = -1;
$cdRecCount = -1;
$cdRecCount = min(sizeof($this->cdRec), 0xffff);;
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

copy paste fail 😿

but the ;; doesnt error ;)

Signed-off-by: Joas Schilling <coding@schilljs.com>
@nickvergessen nickvergessen force-pushed the bugfix/2352/zip64-central-directory-length-12 branch from 0fe9747 to 4b74251 Compare January 10, 2018 13:55
@MorrisJobke MorrisJobke merged commit 361584b into stable12 Jan 10, 2018
@MorrisJobke MorrisJobke deleted the bugfix/2352/zip64-central-directory-length-12 branch January 10, 2018 15:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants