summaryrefslogtreecommitdiffstats
path: root/apps
diff options
context:
space:
mode:
authorJoas Schilling <nickvergessen@owncloud.com>2016-02-15 10:54:56 +0100
committerJoas Schilling <nickvergessen@owncloud.com>2016-02-15 10:54:56 +0100
commitcb836158f0fcb264637df0f9e04fd0ec21797e32 (patch)
treec650c32cbe5b3570d9d03ba7884423576c3c7b98 /apps
parent2054dbd4c886e8f4d3fcd02f95bab78fb88cc917 (diff)
downloadnextcloud-server-cb836158f0fcb264637df0f9e04fd0ec21797e32.tar.gz
nextcloud-server-cb836158f0fcb264637df0f9e04fd0ec21797e32.zip
Deduplicate slashes
Diffstat (limited to 'apps')
-rw-r--r--apps/dav/lib/comments/commentsplugin.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/dav/lib/comments/commentsplugin.php b/apps/dav/lib/comments/commentsplugin.php
index 7abf6e71ee5..fb9f5b7ab8a 100644
--- a/apps/dav/lib/comments/commentsplugin.php
+++ b/apps/dav/lib/comments/commentsplugin.php
@@ -121,7 +121,7 @@ class CommentsPlugin extends ServerPlugin {
// having their own comments marked as unread
$node->setReadMarker(null);
- $url = $request->getUrl() . '/' . urlencode($comment->getId());
+ $url = rtrim($request->getUrl(), '/') . '/' . urlencode($comment->getId());
$response->setHeader('Content-Location', $url);