diff options
author | Daniel Kesselberg <mail@danielkesselberg.de> | 2020-02-21 22:13:49 +0100 |
---|---|---|
committer | Daniel Kesselberg <mail@danielkesselberg.de> | 2020-02-21 22:13:49 +0100 |
commit | bfc956fc88939da0788d377bea81bd5832e81767 (patch) | |
tree | c4c3a311ea4fc496d33f2a983a757419f1d71c4c /core | |
parent | daf1d74af977b371cb8f5a5a8048f4853fc4ec53 (diff) | |
download | nextcloud-server-bfc956fc88939da0788d377bea81bd5832e81767.tar.gz nextcloud-server-bfc956fc88939da0788d377bea81bd5832e81767.zip |
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 <mail@danielkesselberg.de>
Diffstat (limited to 'core')
-rw-r--r-- | core/js/setupchecks.js | 1 |
1 files changed, 1 insertions, 0 deletions
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 @@ '<d:propfind xmlns:d="DAV:">' + '<d:prop><d:resourcetype/></d:prop>' + '</d:propfind>', + contentType: 'application/xml; charset=utf-8', complete: afterCall, allowAuthErrors: true }); |