Page Menu
Home
Phorge
Search
Configure Global Search
Log In
Files
F2708279
D25483.1735169711.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
324 B
Referenced Files
None
Subscribers
None
D25483.1735169711.diff
View Options
diff --git a/src/utils/utils.php b/src/utils/utils.php
--- a/src/utils/utils.php
+++ b/src/utils/utils.php
@@ -1952,7 +1952,7 @@
}
function phutil_encode_log($message) {
- return addcslashes($message, "\0..\37\\\177..\377");
+ return is_null($message) ? null : addcslashes($message, "\0..\37\\\177..\377");
}
/**
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Wed, Dec 25, 23:35 (4 h, 39 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
1034193
Default Alt Text
D25483.1735169711.diff (324 B)
Attached To
Mode
D25483: fix PHP 8 "strlen(null)" when testing the ssh setup
Attached
Detach File
Event Timeline
Log In to Comment