]> source.dussan.org Git - nextcloud-server.git/commitdiff
correct xml syntax
authorMichiel@unhosted <michiel@unhosted.org>
Mon, 12 Sep 2011 12:35:15 +0000 (14:35 +0200)
committerMichiel@unhosted <michiel@unhosted.org>
Mon, 12 Sep 2011 12:35:15 +0000 (14:35 +0200)
apps/user_webfinger/webfinger.php

index 4f94cc3c4fa0305e8d01cda90326a97eaebc73d9..c5f6680193caff886d69a2e7fb38147fe50e117d 100644 (file)
@@ -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>