Use the proper content-type
We should use the proper content-type `application/xml` instead of the default `text/html` here. Backport requested.
This commit is contained in:
parent
84cd6e035e
commit
8a2cd0355d
|
@ -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('
|
||||
|
|
Loading…
Reference in New Issue