Page Menu
Home
Phorge
Search
Configure Global Search
Log In
Files
F2595033
D25161.1730336859.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Award Token
Flag For Later
Advanced/Developer...
View Handle
View Hovercard
Size
583 B
Referenced Files
None
Subscribers
None
D25161.1730336859.diff
View Options
diff --git a/src/applications/auth/controller/PhabricatorAuthSSHKeyEditController.php b/src/applications/auth/controller/PhabricatorAuthSSHKeyEditController.php
--- a/src/applications/auth/controller/PhabricatorAuthSSHKeyEditController.php
+++ b/src/applications/auth/controller/PhabricatorAuthSSHKeyEditController.php
@@ -54,7 +54,7 @@
$cancel_uri);
$v_name = $key->getName();
- $e_name = strlen($v_name) ? null : true;
+ $e_name = phutil_nonempty_string($v_name) ? null : true;
$v_key = $key->getEntireKey();
$e_key = strlen($v_key) ? null : true;
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Thu, Oct 31, 01:07 (11 h, 40 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
953866
Default Alt Text
D25161.1730336859.diff (583 B)
Attached To
Mode
D25161: Fix PHP 8.1 "strlen(null)" exception which blocks rendering Upload SSH Public key settings dialog
Attached
Detach File
Event Timeline
Log In to Comment