Deduplicate slashes

remotes/origin/users-ajaxloadgroups
Joas Schilling 10 years ago
parent 2054dbd4c8
commit cb836158f0
  1. 2
      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);

Loading…
Cancel
Save