From 7c40edd189fd7e89757883acc626ab2a7ca06a61 Mon Sep 17 00:00:00 2001 From: Jaifroid Date: Fri, 19 Apr 2024 15:26:29 +0100 Subject: [PATCH] Add security verification for untrusted archives #587 (#588) --- CHANGELOG.md | 2 + www/index.html | 5 ++ www/js/app.js | 182 ++++++++++++++++++++++++++++----------- www/js/init.js | 2 + www/js/lib/zimArchive.js | 4 +- 5 files changed, 144 insertions(+), 51 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index a29e9b73..be192c72 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,7 +2,9 @@ ## In-progress release 3.2.2 +* FEATURE: Add security dialogue on opening a ZIM for the first time in ServiceWorker mode * UPDATE: Rename JQuery mode to Restricted mode +* FIX: Cached last page sometimes overwrites new ZIM landing page when switching from Restricted mode * FIX: Display of open/close marker with h5 and h6 headings in Wikimedia ZIMs * FIX: Inability to print HTML books in Gutenberg ZIMs * FIX: Bug in JQuery mode which made all images load as manual display areas in some non-Wikimedia ZIMs diff --git a/www/index.html b/www/index.html index 13a936d7..ea5643bf 100644 --- a/www/index.html +++ b/www/index.html @@ -1252,6 +1252,11 @@ Disable drag-and-drop (in case it is causing anomalies) +