Skip to content

Commit d2cda99

Browse files
committed
add https://tester to trusted
1 parent c20e41c commit d2cda99

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

solid/lib/Controller/ServerController.php

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -191,6 +191,9 @@ private function checkApproval($clientId) {
191191
if ($clientId == md5("tester")) { // FIXME: Double check that this is not a security issue; It is only here to help the test suite;
192192
return \Pdsinterop\Solid\Auth\Enum\Authorization::APPROVED;
193193
}
194+
if ($clientId == md5("https://tester")) { // FIXME: Double check that this is not a security issue; It is only here to help the test suite;
195+
return \Pdsinterop\Solid\Auth\Enum\Authorization::APPROVED;
196+
}
194197
if (in_array($clientId, $allowedClients)) {
195198
return \Pdsinterop\Solid\Auth\Enum\Authorization::APPROVED;
196199
} else {

0 commit comments

Comments
 (0)