Sync-in · Sovereign platform for file storage, sharing, synchronization, and collaboration.
TypeScript cloud-alternativecollaborationcollaborative-editingdropboxfile-serverfile-sharingfile-storagefile-syncfull-text-searchhomelabnextcloudon-premiseopen-sourceprivacy-firstprivate-cloudrealtimesecureself-hostedstorage-serverwebdav
fix(backend:files): honor SSL certificate verification settings for OnlyOffice and EuroOffice
johaven26aa6e72a963
diff --git a/backend/src/applications/files/editors/only-office/only-office-manager.service.ts b/backend/src/applications/files/editors/only-office/only-office-manager.service.tsindex 5928cee0..072408e5 100644--- a/backend/src/applications/files/editors/only-office/only-office-manager.service.ts+++ b/backend/src/applications/files/editors/only-office/only-office-manager.service.ts@@ -60,7 +60,7 @@ export class OnlyOfficeManager {: configuration.applications.files.editors.euroofficeprivate readonly officeAppLock = configuration.applications.files.editors.onlyoffice.enabled ? ONLY_OFFICE_APP_LOCK : EURO_OFFICE_APP_LOCKprivate readonly externalOnlyOfficeServer = this.officeConfig.externalServer || null- private readonly rejectUnauthorized: boolean = !this.officeConfig.verifySSL+ private readonly rejectUnauthorized: boolean = this.officeConfig.verifySSLprivate readonly convertUrl = this.externalOnlyOfficeServer ? `${this.externalOnlyOfficeServer}/ConvertService.ashx` : nullprivate readonly expiration = convertHumanTimeToSeconds(configuration.auth.token.refresh.expiration)private readonly mobileRegex: RegExp = /android|webos|iphone|ipad|ipod|blackberry|windows phone|opera mini|iemobile|mobile/i