Page Menu
Home
Phorge
Search
Configure Global Search
Log In
Files
F2685132
D25164.1734700314.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
342 B
Referenced Files
None
Subscribers
None
D25164.1734700314.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
@@ -1888,6 +1888,9 @@
* @return string URI encoded string, except for '/'.
*/
function phutil_escape_uri($string) {
+ if ($string === null) {
+ return '';
+ }
return str_replace('%2F', '/', rawurlencode($string));
}
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Fri, Dec 20, 13:11 (19 h, 22 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
1016661
Default Alt Text
D25164.1734700314.diff (342 B)
Attached To
Mode
D25164: Fix PHP 8.1 "rawurlencode(null)" exception which blocks rendering a project page
Attached
Detach File
Event Timeline
Log In to Comment