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 2926ff0 commit ec043c0Copy full SHA for ec043c0
resources/lib/UnityUser.php
@@ -303,7 +303,7 @@ public function getSSHKeys(): array
303
private static function removeSSHKeyOptionalCommentSuffix(string $key): string
304
{
305
$matches = [];
306
- if (preg_match("/^\s*(\S+\s+\S+)\s+(\S+)\s*$/", $key, $matches)) {
+ if (preg_match("/^\s*(\S+\s+\S+)\s+(.*)\s*$/", $key, $matches)) {
307
return $matches[1];
308
} else {
309
return $key;
0 commit comments