Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/apps.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichiel de Jong <michiel@unhosted.org>2012-02-22 23:05:41 +0400
committerMichiel de Jong <michiel@unhosted.org>2012-02-22 23:05:41 +0400
commit85215f10bc4d6ca9cb50a25db4b77be318e35b48 (patch)
treee7f8bf8f1b4f4ad067b1dc88acde352095ec5a13 /user_webfinger
parent41a81bf045eedc1869df33156a4b2dbf504f9f53 (diff)
correct header Content-Type: application/xrd+xml
Diffstat (limited to 'user_webfinger')
-rw-r--r--user_webfinger/host-meta.php2
-rw-r--r--user_webfinger/webfinger.php2
2 files changed, 2 insertions, 2 deletions
diff --git a/user_webfinger/host-meta.php b/user_webfinger/host-meta.php
index dbb4377e8..ac577cf9a 100644
--- a/user_webfinger/host-meta.php
+++ b/user_webfinger/host-meta.php
@@ -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"?>
diff --git a/user_webfinger/webfinger.php b/user_webfinger/webfinger.php
index a95371820..5c2a24aa0 100644
--- a/user_webfinger/webfinger.php
+++ b/user_webfinger/webfinger.php
@@ -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