From: Daniel Kesselberg Date: Fri, 21 Feb 2020 21:13:49 +0000 (+0100) Subject: Set content type for propfind request X-Git-Tag: v19.0.0beta1~222^2 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=bfc956fc88939da0788d377bea81bd5832e81767;p=nextcloud-server.git Set content type for propfind request Without the request is sent as application/x-www-form-urlencoded; charset=UTF-8 and might be blocked by some application firewalls because content and content type do not match. Signed-off-by: Daniel Kesselberg --- diff --git a/core/js/setupchecks.js b/core/js/setupchecks.js index f9829954f16..1e50644aa27 100644 --- a/core/js/setupchecks.js +++ b/core/js/setupchecks.js @@ -40,6 +40,7 @@ '' + '' + '', + contentType: 'application/xml; charset=utf-8', complete: afterCall, allowAuthErrors: true });