[Pkg-owncloud-commits] [owncloud] 105/145: Use the proper content-type

David Prévot taffit at moszumanska.debian.org
Wed Feb 26 16:27:46 UTC 2014


This is an automated email from the git hooks/post-receive script.

taffit pushed a commit to branch master
in repository owncloud.

commit d07f459409747533c49515abd8d42a478629542b
Author: Lukas Reschke <lukas at statuscode.ch>
Date:   Mon Feb 17 16:45:22 2014 +0100

    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 bf94b85..2c62f76 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('

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-owncloud/owncloud.git



More information about the Pkg-owncloud-commits mailing list