correct header Content-Type: application/xrd+xml

remotes/origin/stable4
Michiel de Jong 13 years ago
parent 9850820b42
commit 3f87c2cedb
  1. 2
      apps/user_webfinger/host-meta.php
  2. 2
      apps/user_webfinger/webfinger.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"?>

@ -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

Loading…
Cancel
Save