diff options
author | Joas Schilling <nickvergessen@owncloud.com> | 2016-02-15 10:54:56 +0100 |
---|---|---|
committer | Joas Schilling <nickvergessen@owncloud.com> | 2016-02-15 10:54:56 +0100 |
commit | cb836158f0fcb264637df0f9e04fd0ec21797e32 (patch) | |
tree | c650c32cbe5b3570d9d03ba7884423576c3c7b98 /apps | |
parent | 2054dbd4c886e8f4d3fcd02f95bab78fb88cc917 (diff) | |
download | nextcloud-server-cb836158f0fcb264637df0f9e04fd0ec21797e32.tar.gz nextcloud-server-cb836158f0fcb264637df0f9e04fd0ec21797e32.zip |
Deduplicate slashes
Diffstat (limited to 'apps')
-rw-r--r-- | apps/dav/lib/comments/commentsplugin.php | 2 |
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); |