We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent eeb8409 commit 2e52486Copy full SHA for 2e52486
resources/lib/utils.php
@@ -26,7 +26,7 @@ function testValidSSHKey(string $key): array
26
if (substr_count($key, "\n") != 0) {
27
return [false, "Key must not span multiple lines"];
28
}
29
- $exploded = explode(" ", $key, 1);
+ $exploded = explode(" ", $key, 2);
30
if (count($exploded) == 1) {
31
return [false, "Key must have at least 2 words"];
32
0 commit comments