Page Menu
Home
In-Portal Phabricator
Search
Configure Global Search
Log In
Files
F1068590
D508.id1316.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Subscribers
None
File Metadata
Details
File Info
Storage
Attached
Created
Fri, Jul 18, 1:32 PM
Size
541 B
Mime Type
text/x-diff
Expires
Sat, Jul 19, 1:32 PM (7 h, 5 m)
Engine
blob
Format
Raw Data
Handle
691611
Attached To
D508: INP-1897 Query for HTTP headers in the "kLogger::addRequestData" method only when the HTTPQuery object is available
D508.id1316.diff
View Options
Index: core/kernel/utility/logger.php
===================================================================
--- core/kernel/utility/logger.php
+++ core/kernel/utility/logger.php
@@ -495,7 +495,7 @@
public function addRequestData()
{
$request_data = array(
- 'Headers' => $this->Application->HttpQuery->getHeaders(),
+ 'Headers' => $this->Application->HttpQuery ? $this->Application->HttpQuery->getHeaders() : '',
);
$request_variables = array('_GET' => $_GET, '_POST' => $_POST, '_COOKIE' => $_COOKIE, '_FILES' => $_FILES);
Event Timeline
Log In to Comment