We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2a11f8d commit 7999bb5Copy full SHA for 7999bb5
1 file changed
lib/Routes/SolidUserProfile.php
@@ -30,7 +30,8 @@ public static function respondToProfile() {
30
$resourceServer->setBaseUrl($baseUrl);
31
$wac->setBaseUrl($baseUrl);
32
33
- $webId = ProfileServer::getWebId($rawRequest);
+ // use the original $_SERVER without modified path, otherwise the htu check for DPOP will fail
34
+ $webId = ProfileServer::getWebId($requestFactory->fromGlobals($_SERVER, $_GET, $_POST, $_COOKIE, $_FILES));
35
36
if (!isset($webId)) {
37
$response = $resourceServer->getResponse()
0 commit comments