fix: plugin bundle archive handling for upload and install (#23983)

Move plugin tar.gz packing and unpacking into a shared core-plugins
archive helper so uploaded bundles are decoded through the same tar
handling used for installs. This removes duplicate archive logic,
supports GNU long-name entries on extraction, and keeps size, traversal,
link, and entry-type checks in one place.
This commit is contained in:
xl-openai
2026-05-22 19:31:39 -07:00
committed by GitHub
parent f94157a4b2
commit 7d47056ea4
5 changed files with 403 additions and 299 deletions
+1
View File
@@ -6,6 +6,7 @@ pub mod marketplace;
pub mod marketplace_add;
pub mod marketplace_remove;
pub mod marketplace_upgrade;
mod plugin_bundle_archive;
pub mod remote;
pub mod remote_bundle;
pub mod remote_legacy;