diff options
author | Michiel@unhosted <michiel@unhosted.org> | 2011-09-12 14:35:15 +0200 |
---|---|---|
committer | Michiel@unhosted <michiel@unhosted.org> | 2011-09-12 14:35:15 +0200 |
commit | f928d4af564e719c34e6c03a9c9ca261a8a1076e (patch) | |
tree | 73315f9f68e2a39bcc32cd5746e500604480e88f /apps/user_webfinger | |
parent | 5685965fdb6462dc81755556c3baf0b03026970f (diff) | |
download | nextcloud-server-f928d4af564e719c34e6c03a9c9ca261a8a1076e.tar.gz nextcloud-server-f928d4af564e719c34e6c03a9c9ca261a8a1076e.zip |
correct xml syntax
Diffstat (limited to 'apps/user_webfinger')
-rw-r--r-- | apps/user_webfinger/webfinger.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/user_webfinger/webfinger.php b/apps/user_webfinger/webfinger.php index 4f94cc3c4fa..c5f6680193c 100644 --- a/apps/user_webfinger/webfinger.php +++ b/apps/user_webfinger/webfinger.php @@ -17,8 +17,8 @@ if(substr($userName, 0, 5) == 'acct:') { } echo "<"; ?> -xml version="1.0" encoding="UTF-8"?> +?xml version="1.0" encoding="UTF-8"?> <XRD xmlns="http://docs.oasis-open.org/ns/xri/xrd-1.0" xmlns:hm="http://host-meta.net/xrd/1.0"> <hm:Host xmlns="http://host-meta.net/xrd/1.0"><?php echo $_SERVER['SERVER_NAME'] ?></hm:Host> - <Link rel="http://unhosted.org/spec/dav/0.1" href="http<?php echo ($_SERVER['HTTPS']?'s':''); ?>://<?php echo $_SERVER['SERVER_NAME'] ?>/apps/unhosted/compat.php/<?php echo $userName ?>/unhosted/"></Link> + <Link rel="http://unhosted.org/spec/dav/0.1" href="http<?php echo ($_SERVER['HTTPS']?'s':''); ?>://<?php echo $_SERVER['SERVER_NAME'] ?>/apps/unhosted/compat.php/<?php echo $userName ?>/unhosted/" /> </XRD> |