Page Menu
Home
Phorge
Search
Configure Global Search
Log In
Files
F2694895
D25483.1734809260.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.1734809260.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
Sat, Dec 21, 19:27 (19 h, 7 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
1024929
Default Alt Text
D25483.1734809260.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