Skip to content

Commit 222cd0e

Browse files
authored
Merge pull request #145 from pdsinterop/feature/nextcloud26
add link to allowed headers
2 parents 33b0d07 + 56b61bc commit 222cd0e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

solid/lib/Middleware/SolidCorsMiddleware.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ public function __construct(IRequest $request) {
1515

1616
public function afterController($controller, $methodName, Response $response) {
1717
$corsMethods="GET, PUT, POST, OPTIONS, DELETE, PATCH";
18-
$corsAllowedHeaders="*, allow, accept, authorization, content-type, dpop, slug";
18+
$corsAllowedHeaders="*, allow, accept, authorization, content-type, dpop, slug, link";
1919
$corsMaxAge="1728000";
2020
$corsExposeHeaders="Authorization, User, Location, Link, Vary, Last-Modified, ETag, Accept-Patch, Accept-Post, Updates-Via, Allow, WAC-Allow, Content-Length, WWW-Authenticate, MS-Author-Via";
2121
$corsAllowCredentials="true";

0 commit comments

Comments
 (0)