From 00394eb326db2acd5a0a1a6b8a4c00712473cbcb Mon Sep 17 00:00:00 2001 From: Ben Peachey Date: Tue, 11 Jan 2022 17:35:12 +0100 Subject: [PATCH] Fix bug caused by incorrect function call. --- src/Server.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Server.php b/src/Server.php index 2d6e487..5650e9a 100644 --- a/src/Server.php +++ b/src/Server.php @@ -675,7 +675,7 @@ private function addLinkRelationHeaders(Response $response, string $path, $mime= // @FIXME: If a `.meta` file is requested, it must have header `Link: ; rel="describes"` if ($this->hasAcl($path, $mime)) { - $value = sprintf('<%s>; rel="acl"', $this->getDescribedByPath($path, $mime)); + $value = sprintf('<%s>; rel="acl"', $this->getAclPath($path, $mime)); $response = $response->withAddedHeader('Link', $value); }