aboutsummaryrefslogtreecommitdiffstats
path: root/apps/remoteStorage/appinfo
diff options
context:
space:
mode:
authorFlorian Hülsmann <fh@cbix.de>2012-05-07 11:15:24 +0200
committerFlorian Hülsmann <fh@cbix.de>2012-05-07 11:15:24 +0200
commit8534373f2fea5268112fb7dee0faa2caf1106d05 (patch)
tree1f7266f135e5fca13691c746ae948a3d9b1351fd /apps/remoteStorage/appinfo
parent3a184e2e1d7ae49d596e06b724ffc36382d02596 (diff)
downloadnextcloud-server-8534373f2fea5268112fb7dee0faa2caf1106d05.tar.gz
nextcloud-server-8534373f2fea5268112fb7dee0faa2caf1106d05.zip
better invalid webfinger URI handling
Diffstat (limited to 'apps/remoteStorage/appinfo')
-rw-r--r--apps/remoteStorage/appinfo/webfinger.php2
1 files changed, 2 insertions, 0 deletions
diff --git a/apps/remoteStorage/appinfo/webfinger.php b/apps/remoteStorage/appinfo/webfinger.php
index 7c0ab846057..6403d3a6916 100644
--- a/apps/remoteStorage/appinfo/webfinger.php
+++ b/apps/remoteStorage/appinfo/webfinger.php
@@ -1,6 +1,8 @@
+<?php if(OC_User::userExists(WF_USER)) { ?>
<Link
rel="remoteStorage"
template="<?php echo WF_BASEURL; ?>/apps/remoteStorage/WebDAV.php/<?php echo WF_USER; ?>/remoteStorage/{category}/"
api="WebDAV"
auth="<?php echo WF_BASEURL; ?>/apps/remoteStorage/auth.php/<?php echo WF_USER; ?>">
</Link>
+<?php } ?>