From 8a2cd0355da540759e7a1edcfe67fb4715032ad0 Mon Sep 17 00:00:00 2001 From: Lukas Reschke Date: Mon, 17 Feb 2014 16:45:22 +0100 Subject: [PATCH] Use the proper content-type We should use the proper content-type `application/xml` instead of the default `text/html` here. Backport requested. --- ocs/providers.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/ocs/providers.php b/ocs/providers.php index bf94b85dcf..2c62f767ad 100644 --- a/ocs/providers.php +++ b/ocs/providers.php @@ -23,6 +23,8 @@ require_once '../lib/base.php'; +header('Content-type: application/xml'); + $url=OCP\Util::getServerProtocol().'://'.substr(OCP\Util::getServerHost().OCP\Util::getRequestUri(), 0, -17).'ocs/v1.php/'; echo('