diff --git a/CHANGELOG.md b/CHANGELOG.md index a318856..af5b723 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -12,7 +12,7 @@ * ADDED: Set CSP also as meta tag, to deal with misconfigured webservers mangling the HTTP header * ADDED: Sanitize SVG preview, preventing script execution in instance context * CHANGED: Language selection cookie only transmitted over HTTPS (#472) - * CHANGED: Upgrading libraries to: base-x 4.0.0, bootstrap 3.4.1 (JS), DOMpurify 2.3.6, ip-lib 1.18.0, jQuery 3.6.0, random_compat 2.0.21 & Showdown 2.0.3 + * CHANGED: Upgrading libraries to: base-x 4.0.0, bootstrap 3.4.1 (JS), DOMpurify 2.3.6, ip-lib 1.18.0, jQuery 3.6.0, random_compat 2.0.21, Showdown 2.0.3 & zlib 1.2.12 * CHANGED: Removed automatic `.ini` configuration file migration (#808) * CHANGED: Removed configurable `dir` for `traffic` & `purge` limiters (#419) * CHANGED: Server salt, traffic and purge limiter now stored in the storage backend (#419) diff --git a/js/common.js b/js/common.js index 290c399..7a68c7e 100644 --- a/js/common.js +++ b/js/common.js @@ -12,7 +12,7 @@ global.WebCrypto = require('@peculiar/webcrypto').Crypto; // application libraries to test global.$ = global.jQuery = require('./jquery-3.6.0'); global.RawDeflate = require('./rawinflate-0.3').RawDeflate; -global.zlib = require('./zlib-1.2.11').zlib; +global.zlib = require('./zlib-1.2.12').zlib; require('./prettify'); global.prettyPrint = window.PR.prettyPrint; global.prettyPrintOne = window.PR.prettyPrintOne; diff --git a/js/zlib-1.2.11.wasm b/js/zlib-1.2.11.wasm deleted file mode 100644 index d98ea38..0000000 Binary files a/js/zlib-1.2.11.wasm and /dev/null differ diff --git a/js/zlib-1.2.11.js b/js/zlib-1.2.12.js similarity index 97% rename from js/zlib-1.2.11.js rename to js/zlib-1.2.12.js index ed0abea..a245608 100644 --- a/js/zlib-1.2.11.js +++ b/js/zlib-1.2.12.js @@ -26,9 +26,9 @@ let buff; if (typeof fetch === 'undefined') { - buff = fs.readFileSync('zlib-1.2.11.wasm'); + buff = fs.readFileSync('zlib-1.2.12.wasm'); } else { - const resp = await fetch('js/zlib-1.2.11.wasm'); + const resp = await fetch('js/zlib-1.2.12.wasm'); buff = await resp.arrayBuffer(); } const module = await WebAssembly.compile(buff); diff --git a/js/zlib-1.2.12.wasm b/js/zlib-1.2.12.wasm new file mode 100644 index 0000000..0b86cf5 Binary files /dev/null and b/js/zlib-1.2.12.wasm differ diff --git a/tpl/bootstrap.php b/tpl/bootstrap.php index ec39eff..41fa2de 100644 --- a/tpl/bootstrap.php +++ b/tpl/bootstrap.php @@ -55,7 +55,7 @@ if ($ZEROBINCOMPATIBILITY) : - + diff --git a/tpl/page.php b/tpl/page.php index 0beda2c..df2031b 100644 --- a/tpl/page.php +++ b/tpl/page.php @@ -34,7 +34,7 @@ if ($ZEROBINCOMPATIBILITY): - +