Skip to content

fix: backport secure extraction and XZ/Zstd to stable34 - #192

Merged
vitormattos merged 4 commits into
stable34from
backport/stable34-extract-hardening-20261122
Nov 22, 2026
Merged

vitormattos merged 4 commits into
stable34from
backport/stable34-extract-hardening-20261122

Conversation

@vitormattos

Copy link
Copy Markdown
Member

Scope

Backport merged main extraction hardening and the work prepared in #189 and #190 into Nextcloud 34. Preserve the existing stable34 app version and NC34-only compatibility. No tag or release is created here.

Signed DCO commits

  1. Backport extraction safety, staging, rollback, process supervision and format fallbacks.
  2. Fix decoder stdout/stderr backpressure (counterpart fix: avoid false decoder timeouts under continuous output #189).
  3. Add XZ/Zstandard streams and Files action (counterpart feat: support XZ and Zstandard extraction in Files #190).

Evidence

  • Applied cleanly on the verified stable34 base.
  • Local combined PHPUnit: 84 tests / 385 assertions passed.
  • Real disposable Nextcloud 34 Playwright: 4/4 targeted cases passed, including extraction and menu action.
  • GitHub CI on this exact PR head must be completed before merging.

Review focus

Archive traversal, symlink and special-file rejection, data safety on rollback, destination permissions, process timeouts and compiled assets. Preserve all DCO-signed commits without squash.

Carry the reviewed extraction safety, resource caps, staging,
RAR fallback and rollback fixes from main with regression tests.
Preserve the stable34 version and supported Nextcloud major.

Signed-off-by: Vitor Mattos <1079143+vitormattos@users.noreply.github.com>
Avoid false timeouts when extraction tools continuously write to
stdout or stderr; retain existing resource limits and regressions.

Signed-off-by: Vitor Mattos <1079143+vitormattos@users.noreply.github.com>
Backport supervised XZ/Zstandard decoding, Files menu support,
regressions and docs while preserving stable34 compatibility.

Signed-off-by: Vitor Mattos <1079143+vitormattos@users.noreply.github.com>
Use the common NC33–35 baseline until the first v-prefixed
release tag is reachable by the automated release planner.

Signed-off-by: Vitor Mattos <1079143+vitormattos@users.noreply.github.com>
@vitormattos
vitormattos merged commit 54b5b96 into stable34 Nov 22, 2026
27 checks passed
@vitormattos
vitormattos deleted the backport/stable34-extract-hardening-20261122 branch November 22, 2026 22:14
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.

1 participant