From 9b50a2222834376c7f91a40e4e54039d05ff3710 Mon Sep 17 00:00:00 2001 From: Wolfgang Ginolas Date: Thu, 29 Jan 2026 16:22:15 +0100 Subject: [PATCH] Do not delete last checkpoint on 5xx error --- www/common/onlyoffice/inner.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/www/common/onlyoffice/inner.js b/www/common/onlyoffice/inner.js index 3df2cfe92..3a64551ff 100644 --- a/www/common/onlyoffice/inner.js +++ b/www/common/onlyoffice/inner.js @@ -734,7 +734,7 @@ define([ if (window.sendCredentials) { xhr.withCredentials = true; } xhr.responseType = 'arraybuffer'; xhr.onload = function () { - if (/^4/.test('' + this.status)) { + if (/^[45]/.test('' + this.status)) { reject(this.status); return void console.error('XHR error', this.status); }