Page Menu
Home
Phorge
Search
Configure Global Search
Log In
Files
F2709611
D25381.1735293451.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
661 B
Referenced Files
None
Subscribers
None
D25381.1735293451.diff
View Options
diff --git a/src/applications/notification/config/PhabricatorNotificationServersConfigType.php b/src/applications/notification/config/PhabricatorNotificationServersConfigType.php
--- a/src/applications/notification/config/PhabricatorNotificationServersConfigType.php
+++ b/src/applications/notification/config/PhabricatorNotificationServersConfigType.php
@@ -92,7 +92,7 @@
}
$path = idx($spec, 'path');
- if ($type == 'admin' && strlen($path)) {
+ if ($type == 'admin' && phutil_nonempty_string($path)) {
throw $this->newException(
pht(
'Notification server configuration describes an invalid host '.
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Fri, Dec 27, 09:57 (10 h, 28 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
1035136
Default Alt Text
D25381.1735293451.diff (661 B)
Attached To
Mode
D25381: Fix a PHP 8.1/8.2 deprecated call to strlen with a NULL argument
Attached
Detach File
Event Timeline
Log In to Comment