Skip to content

Commit f9f02ba

Browse files
committed
use raw request instead of nextcloud request object
1 parent beef4e7 commit f9f02ba

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

solid/lib/Controller/SolidWebhookController.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,8 @@ public function __construct($AppName, IRootFolder $rootFolder, IRequest $request
5050

5151
$this->DPop = new DPop();
5252
try {
53-
$this->webId = $this->DPop->getWebId($request);
53+
$rawRequest = \Laminas\Diactoros\ServerRequestFactory::fromGlobals($_SERVER, $_GET, $_POST, $_COOKIE, $_FILES);
54+
$this->webId = $this->DPop->getWebId($rawRequest);
5455
} catch(\Exception $e) {
5556
$response = $this->resourceServer->getResponse()->withStatus(409, "Invalid token");
5657
return $this->respond($response);

0 commit comments

Comments
 (0)