diff --git a/src/applications/xhprof/controller/PhabricatorXHProfProfileController.php b/src/applications/xhprof/controller/PhabricatorXHProfProfileController.php index 11e9e47ffc..7f3b155cdd 100644 --- a/src/applications/xhprof/controller/PhabricatorXHProfProfileController.php +++ b/src/applications/xhprof/controller/PhabricatorXHProfProfileController.php @@ -5,6 +5,10 @@ final class PhabricatorXHProfProfileController 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 index 3e2de9a54b..98f20436e4 100644 --- a/src/applications/xhprof/controller/PhabricatorXHProfSampleListController.php +++ b/src/applications/xhprof/controller/PhabricatorXHProfSampleListController.php @@ -5,6 +5,10 @@ final class PhabricatorXHProfSampleListController private $view; + public function shouldAllowPublic() { + return true; + } + public function willProcessRequest(array $data) { $this->view = idx($data, 'view', 'all'); }