Page Menu
Home
Phorge
Search
Configure Global Search
Log In
Files
F2874999
D25761.1736968283.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
529 B
Referenced Files
None
Subscribers
None
D25761.1736968283.diff
View Options
diff --git a/src/applications/auth/view/PhabricatorAuthAccountView.php b/src/applications/auth/view/PhabricatorAuthAccountView.php
--- a/src/applications/auth/view/PhabricatorAuthAccountView.php
+++ b/src/applications/auth/view/PhabricatorAuthAccountView.php
@@ -63,7 +63,7 @@
));
$account_uri = $account->getAccountURI();
- if (strlen($account_uri)) {
+ if (phutil_nonempty_string($account_uri)) {
// Make sure we don't link a "javascript:" URI if a user somehow
// managed to get one here.
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Wed, Jan 15, 19:11 (2 w, 20 h ago)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
1113911
Default Alt Text
D25761.1736968283.diff (529 B)
Attached To
Mode
D25761: Fix PHP 8.1 "strlen(null)" exception in PhabricatorAuthAccountView
Attached
Detach File
Event Timeline
Log In to Comment