mirror of
https://github.com/nextcloud/server.git
synced 2026-06-10 17:23:59 -04:00
Deduplicate slashes
This commit is contained in:
parent
2054dbd4c8
commit
cb836158f0
1 changed files with 1 additions and 1 deletions
|
|
@ -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);
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue