Page Menu
Home
Phorge
Search
Configure Global Search
Log In
Files
F2978897
D25130.1739719532.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
406 B
Referenced Files
None
Subscribers
None
D25130.1739719532.diff
View Options
diff --git a/src/aphront/AphrontRequest.php b/src/aphront/AphrontRequest.php
--- a/src/aphront/AphrontRequest.php
+++ b/src/aphront/AphrontRequest.php
@@ -448,7 +448,7 @@
}
private function getPrefixedCookieName($name) {
- if (strlen($this->cookiePrefix)) {
+ if (phutil_nonempty_string($this->cookiePrefix)) {
return $this->cookiePrefix.'_'.$name;
} else {
return $name;
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sun, Feb 16, 15:25 (5 d, 22 m ago)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
1135594
Default Alt Text
D25130.1739719532.diff (406 B)
Attached To
Mode
D25130: Fix PHP 8.1 "strlen(null)" exception in AphrontRequest.php when cookieprefix not set
Attached
Detach File
Event Timeline
Log In to Comment