mirror of
https://github.com/nextcloud/server.git
synced 2026-07-05 12:34:39 +02:00
correct header Content-Type: application/xrd+xml
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user