diff options
author | Michiel de Jong <michiel@unhosted.org> | 2012-02-22 19:05:41 +0000 |
---|---|---|
committer | Michiel de Jong <michiel@unhosted.org> | 2012-02-22 19:05:41 +0000 |
commit | 3f87c2cedb271d498f5e198ce90df4948bc032fa (patch) | |
tree | 3abd1c8fb836748b01cd1d1df623cf3051851b43 /apps/user_webfinger | |
parent | 9850820b4276b197433bb64d84ed085cdcd01e0e (diff) | |
download | nextcloud-server-3f87c2cedb271d498f5e198ce90df4948bc032fa.tar.gz nextcloud-server-3f87c2cedb271d498f5e198ce90df4948bc032fa.zip |
correct header Content-Type: application/xrd+xml
Diffstat (limited to 'apps/user_webfinger')
-rw-r--r-- | apps/user_webfinger/host-meta.php | 2 | ||||
-rw-r--r-- | apps/user_webfinger/webfinger.php | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/apps/user_webfinger/host-meta.php b/apps/user_webfinger/host-meta.php index dbb4377e8c7..ac577cf9a0c 100644 --- a/apps/user_webfinger/host-meta.php +++ b/apps/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/apps/user_webfinger/webfinger.php b/apps/user_webfinger/webfinger.php index a9537182016..5c2a24aa070 100644 --- a/apps/user_webfinger/webfinger.php +++ b/apps/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 |