From cb836158f0fcb264637df0f9e04fd0ec21797e32 Mon Sep 17 00:00:00 2001 From: Joas Schilling Date: Mon, 15 Feb 2016 10:54:56 +0100 Subject: Deduplicate slashes --- apps/dav/lib/comments/commentsplugin.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'apps/dav') 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); -- cgit v1.2.3