Find this useful? Enter your email to receive occasional updates for securing PHP code.
Signing you up...
Thank you for signing up!
PHP Decode
<?php final class DrydockLeaseListController extends DrydockLeaseController { public f..
Decoded Output download
<?php
final class DrydockLeaseListController extends DrydockLeaseController {
public function shouldAllowPublic() {
return true;
}
public function handleRequest(AphrontRequest $request) {
$viewer = $request->getViewer();
$query_key = $request->getURIData('queryKey');
$engine = new DrydockLeaseSearchEngine();
$id = $request->getURIData('id');
if ($id) {
$resource = id(new DrydockResourceQuery())
->setViewer($viewer)
->withIDs(array($id))
->executeOne();
if (!$resource) {
return new Aphront404Response();
}
$this->setResource($resource);
$engine->setResource($resource);
}
$controller = id(new PhabricatorApplicationSearchController())
->setQueryKey($query_key)
->setSearchEngine($engine)
->setNavigation($this->buildSideNavView());
return $this->delegateToController($controller);
}
}
?>
Did this file decode correctly?
Original Code
<?php
final class DrydockLeaseListController extends DrydockLeaseController {
public function shouldAllowPublic() {
return true;
}
public function handleRequest(AphrontRequest $request) {
$viewer = $request->getViewer();
$query_key = $request->getURIData('queryKey');
$engine = new DrydockLeaseSearchEngine();
$id = $request->getURIData('id');
if ($id) {
$resource = id(new DrydockResourceQuery())
->setViewer($viewer)
->withIDs(array($id))
->executeOne();
if (!$resource) {
return new Aphront404Response();
}
$this->setResource($resource);
$engine->setResource($resource);
}
$controller = id(new PhabricatorApplicationSearchController())
->setQueryKey($query_key)
->setSearchEngine($engine)
->setNavigation($this->buildSideNavView());
return $this->delegateToController($controller);
}
}
Function Calls
None |
Stats
MD5 | 7de2b42014ef1b9a1c347721ca770bc7 |
Eval Count | 0 |
Decode Time | 92 ms |