Skip to content

Commit fcf2c17

Browse files
committed
more explicit comparison
1 parent 354bf81 commit fcf2c17

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/Routes/SolidStorage.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ public static function respondToStorage() {
5454
$allowedOrigins[] = $clientRegistration['origin'];
5555
}
5656
}
57-
if ($origin =="") {
57+
if (!isset($origin) || ($origin === "")) {
5858
$allowedOrigins[] = "app://unset"; // FIXME: this should not be here.
5959
$origin = "app://unset";
6060
}

0 commit comments

Comments
 (0)