From 035d2cb4404bec9ec90a00a7870a8d7caeb58c8d Mon Sep 17 00:00:00 2001 From: badrAZ Date: Wed, 29 Jul 2020 10:38:59 +0200 Subject: [PATCH] fix(xo-server-audit): fix incorrect records content type (#5179) --- CHANGELOG.unreleased.md | 2 ++ packages/xo-server-audit/src/index.js | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.unreleased.md b/CHANGELOG.unreleased.md index d7e0587dd..c4a2de85a 100644 --- a/CHANGELOG.unreleased.md +++ b/CHANGELOG.unreleased.md @@ -25,6 +25,7 @@ - [OVA Import] fix import of Red Hat generated .ova files (PR [#5159](https://github.com/vatesfr/xen-orchestra/pull/5159)) - [Proxy/deploy] Ability to set HTTP proxy configuration (PR [#5145](https://github.com/vatesfr/xen-orchestra/pull/5145)) - [Fast clone] Fix bug where the name of the created VM would be "undefined_clone" (PR [#5173](https://github.com/vatesfr/xen-orchestra/pull/5173)) +- [Audit] Fix unreadable exported records format (PR [#5179](https://github.com/vatesfr/xen-orchestra/pull/5179)) ### Packages to release @@ -43,6 +44,7 @@ > > In case of conflict, the highest (lowest in previous list) `$version` wins. +- xo-server-audit patch - @xen-orchestra/openflow patch - xo-server-sdn-controller major - xo-vmdk-to-vhd minor diff --git a/packages/xo-server-audit/src/index.js b/packages/xo-server-audit/src/index.js index 913036ce5..22085dea7 100644 --- a/packages/xo-server-audit/src/index.js +++ b/packages/xo-server-audit/src/index.js @@ -272,7 +272,7 @@ class AuditXoPlugin { (req, res) => { res.set({ 'content-disposition': 'attachment', - 'content-type': 'application/json', + 'content-type': 'application/x-gzip', }) return fromCallback( pipeline,