We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2835876 commit 4d97c3dCopy full SHA for 4d97c3d
1 file changed
solid/lib/Controller/GetStorageUrlTrait.php
@@ -65,10 +65,15 @@ public function validateUrl(RequestInterface $request): bool {
65
$pathUsers = array_filter($pathParts, static function ($value) {
66
return str_starts_with($value, '~');
67
});
68
-
+var_dump($host);
69
+var_dump($path);
70
+var_dump($pathParts);
71
+var_dump($pathUsers);
72
if (count($pathUsers) === 1) {
73
$pathUser = reset($pathUsers);
74
$subDomainUser = explode('.', $host)[0];
75
+var_dump($pathUser);
76
+var_dump($subDomainUser);
77
78
$isValid = $pathUser === '~' . $subDomainUser;
79
}
0 commit comments