summaryrefslogtreecommitdiffstats
path: root/apps/dav
diff options
context:
space:
mode:
authorArthur Schiwon <blizzz@owncloud.com>2016-01-29 13:28:17 +0100
committerArthur Schiwon <blizzz@owncloud.com>2016-01-29 13:28:17 +0100
commit6dc793338acb3cd17716b5dc886885d0fb2d6181 (patch)
tree0ebecc50556b5fff2a771cafb7e6fdef5e69daff /apps/dav
parent01cdc70f9c8fd98d2ea49bcfba9005f2797c815d (diff)
downloadnextcloud-server-6dc793338acb3cd17716b5dc886885d0fb2d6181.tar.gz
nextcloud-server-6dc793338acb3cd17716b5dc886885d0fb2d6181.zip
url encode id
Diffstat (limited to 'apps/dav')
-rw-r--r--apps/dav/lib/connector/sabre/commentpropertiesplugin.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/dav/lib/connector/sabre/commentpropertiesplugin.php b/apps/dav/lib/connector/sabre/commentpropertiesplugin.php
index b09db7110a9..a8d5f771122 100644
--- a/apps/dav/lib/connector/sabre/commentpropertiesplugin.php
+++ b/apps/dav/lib/connector/sabre/commentpropertiesplugin.php
@@ -105,7 +105,7 @@ class CommentPropertiesPlugin extends ServerPlugin {
return null;
}
$href = substr_replace($href, '/dav/', $entryPoint);
- $href .= 'comments/files/' . $node->getId();
+ $href .= 'comments/files/' . rawurldecode($node->getId());
return $href;
}