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 26c7bd6 commit 718c315Copy full SHA for 718c315
resources/lib/UnityUser.php
@@ -306,7 +306,7 @@ public function getSSHKeys(): array
306
private static function removeSSHKeyOptionalCommentSuffix(string $key): string
307
{
308
$matches = [];
309
- if (preg_match("/^(\S+\s+\S+)/", $key, $matches)) {
+ if (preg_match("/^(\S+ \S+)/", $key, $matches)) {
310
return $matches[1];
311
} else {
312
throw new \ValueError("invalid SSH key: $key");
0 commit comments