1
0
mirror of https://github.com/mail-in-a-box/mailinabox.git synced 2026-03-05 15:57:23 +01:00

preliminary support for webfinger

It just echos back the subject given to it.
This commit is contained in:
Joshua Tauberer
2014-06-20 01:54:59 +00:00
parent 5faa1cae71
commit 85169dc960
3 changed files with 19 additions and 0 deletions

9
tools/webfinger.php Executable file
View File

@@ -0,0 +1,9 @@
<?php
$resource = $_GET['resource'];
header("Content-type: application/json");
echo json_encode(array(
subject => $resource,
), JSON_PRETTY_PRINT);
?>