Page Menu
Home
Phorge
Search
Configure Global Search
Log In
Files
F2595135
D25483.1730348953.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
290 B
Referenced Files
None
Subscribers
None
D25483.1730348953.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,6 +1952,10 @@
}
function phutil_encode_log($message) {
+ if (is_null($message)) {
+ return null;
+ }
+
return addcslashes($message, "\0..\37\\\177..\377");
}
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Thu, Oct 31, 04:29 (15 h, 14 s)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
953940
Default Alt Text
D25483.1730348953.diff (290 B)
Attached To
Mode
D25483: fix PHP 8 "strlen(null)" when testing the ssh setup
Attached
Detach File
Event Timeline
Log In to Comment