From cfa078e25554e55d89df97a4f912d1d3c89106a0 Mon Sep 17 00:00:00 2001 From: Otto Sichert Date: Thu, 16 Jun 2022 15:08:41 +0200 Subject: [PATCH] Added changeset Signed-off-by: Otto Sichert --- .changeset/nine-mails-crash.md | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 .changeset/nine-mails-crash.md diff --git a/.changeset/nine-mails-crash.md b/.changeset/nine-mails-crash.md new file mode 100644 index 0000000000..3dc4334f17 --- /dev/null +++ b/.changeset/nine-mails-crash.md @@ -0,0 +1,9 @@ +--- +'@backstage/backend-common': patch +--- + +The `ZipArchiveResponse` now correctly handles corrupt ZIP archives. + +Before this change, certain corrupt ZIP archives either cause the inflater to throw (as expected), or will hang the parser indefinitely. + +This change introduces a default timeout of 3000ms before throwing an error message when trying to unzip an archive.