]> source.dussan.org Git - nextcloud-server.git/commitdiff
correct header Content-Type: application/xrd+xml
authorMichiel de Jong <michiel@unhosted.org>
Wed, 22 Feb 2012 19:05:41 +0000 (19:05 +0000)
committerMichiel de Jong <michiel@unhosted.org>
Wed, 22 Feb 2012 19:05:41 +0000 (19:05 +0000)
apps/user_webfinger/host-meta.php
apps/user_webfinger/webfinger.php

index dbb4377e8c79106d825498f35f6a44befaca2a15..ac577cf9a0c4526dc7315061fd5247f18803f608 100644 (file)
@@ -4,7 +4,7 @@ if($_SERVER['SCRIPT_NAME'] == '/.well-known/host-meta.php') {
 } else {
        header('Please-first: activate');
 }
-header("Content-Type: application/xml+xrd");
+header("Content-Type: application/xrd+xml");
 echo "<";
 ?>
 ?xml version="1.0" encoding="UTF-8"?>
index a95371820160b4e993ce7373dd35ef61a4785ab0..5c2a24aa0707fd8bfb0aeddfcfa7b98d986f0d74 100644 (file)
@@ -4,7 +4,7 @@ if($_SERVER['SCRIPT_NAME'] == '/.well-known/webfinger.php') {
 } else {
        header('Please-first: activate');
 }
-// header("Content-Type: application/xml+xrd");
+header("Content-Type: application/xrd+xml");
 
 // calculate the documentroot
 // modified version of the one in lib/base.php that takes the .well-known symlink into account