Deduplicate slashes
This commit is contained in:
parent
2054dbd4c8
commit
cb836158f0
|
@ -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 New Issue