Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F15384175
D13673.id33047.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
1 KB
Referenced Files
None
Subscribers
None
D13673.id33047.diff
View Options
diff --git a/src/applications/xhprof/controller/PhabricatorXHProfProfileController.php b/src/applications/xhprof/controller/PhabricatorXHProfProfileController.php
--- a/src/applications/xhprof/controller/PhabricatorXHProfProfileController.php
+++ b/src/applications/xhprof/controller/PhabricatorXHProfProfileController.php
@@ -5,6 +5,10 @@
private $phid;
+ public function shouldAllowPublic() {
+ return true;
+ }
+
public function willProcessRequest(array $data) {
$this->phid = $data['phid'];
}
diff --git a/src/applications/xhprof/controller/PhabricatorXHProfSampleListController.php b/src/applications/xhprof/controller/PhabricatorXHProfSampleListController.php
--- a/src/applications/xhprof/controller/PhabricatorXHProfSampleListController.php
+++ b/src/applications/xhprof/controller/PhabricatorXHProfSampleListController.php
@@ -5,6 +5,10 @@
private $view;
+ public function shouldAllowPublic() {
+ return true;
+ }
+
public function willProcessRequest(array $data) {
$this->view = idx($data, 'view', 'all');
}
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sat, Mar 15, 7:01 PM (2 w, 1 d ago)
Storage Engine
blob
Storage Format
Encrypted (AES-256-CBC)
Storage Handle
7476364
Default Alt Text
D13673.id33047.diff (1 KB)
Attached To
Mode
D13673: Allow XHProf to be publicly viewable
Attached
Detach File
Event Timeline
Log In to Comment