Skip to content

Commit 4d97c3d

Browse files
committed
var dumps
1 parent 2835876 commit 4d97c3d

1 file changed

Lines changed: 6 additions & 1 deletion

File tree

solid/lib/Controller/GetStorageUrlTrait.php

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,10 +65,15 @@ public function validateUrl(RequestInterface $request): bool {
6565
$pathUsers = array_filter($pathParts, static function ($value) {
6666
return str_starts_with($value, '~');
6767
});
68-
68+
var_dump($host);
69+
var_dump($path);
70+
var_dump($pathParts);
71+
var_dump($pathUsers);
6972
if (count($pathUsers) === 1) {
7073
$pathUser = reset($pathUsers);
7174
$subDomainUser = explode('.', $host)[0];
75+
var_dump($pathUser);
76+
var_dump($subDomainUser);
7277

7378
$isValid = $pathUser === '~' . $subDomainUser;
7479
}

0 commit comments

Comments
 (0)