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 81a4a21 commit e714244Copy full SHA for e714244
resources/lib/UnitySite.php
@@ -57,11 +57,8 @@ public static function testValidSSHKey($key_str)
57
if ($key_str == "") {
58
return false;
59
}
60
- // https://github.com/phpseclib/phpseclib/issues/2077
61
- // if (preg_match("/^[0-9]+$/", $key_str)) {
62
- // return false;
63
- // }
64
// https://github.com/phpseclib/phpseclib/issues/2076
+ // https://github.com/phpseclib/phpseclib/issues/2077
65
// there are actually valid JSON keys (JWK), but I don't think anybody uses it
66
if (!is_null(@json_decode($key_str))) {
67
0 commit comments