From e8f85fd3dafd73fe670f0ed8ee7c63f6c389f9c5 Mon Sep 17 00:00:00 2001 From: Vikas Date: Fri, 22 Sep 2017 14:57:43 -0500 Subject: [PATCH] =?UTF-8?q?=F0=9F=90=9B=20Fixed=20redirects=20upload=20for?= =?UTF-8?q?=20various=20browsers/systems=20(#9042)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit closes #9036 --- core/server/config/overrides.json | 2 +- core/server/translations/en.json | 4 ++++ 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/core/server/config/overrides.json b/core/server/config/overrides.json index 320f825f02..513b6853b6 100644 --- a/core/server/config/overrides.json +++ b/core/server/config/overrides.json @@ -60,7 +60,7 @@ }, "redirects": { "extensions": [".json"], - "contentTypes": ["application/json"] + "contentTypes": ["application/octet-stream", "application/json"] } }, "times": { diff --git a/core/server/translations/en.json b/core/server/translations/en.json index 8746604ce9..bc6bad0213 100644 --- a/core/server/translations/en.json +++ b/core/server/translations/en.json @@ -335,6 +335,10 @@ "notFound": "Job not found.", "publishInThePast": "Use the force flag to publish a post in the past." }, + "redirects": { + "missingFile": "Please select a JSON file.", + "invalidFile": "Please select a valid JSON file to import." + }, "settings": { "problemFindingSetting": "Problem finding setting: {key}", "accessCoreSettingFromExtReq": "Attempted to access core setting from external request",