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 PhabricatorRedirectController extends PhabricatorController { public..

Decoded Output download

<?php

final class PhabricatorRedirectController extends PhabricatorController {

  public function shouldRequireLogin() {
    return false;
  }

  public function shouldRequireEnabledUser() {
    return false;
  }

  public function handleRequest(AphrontRequest $request) {
    $uri = $request->getURIData('uri');
    $external = $request->getURIData('external', false);
    return id(new AphrontRedirectResponse())
      ->setURI($uri)
      ->setIsExternal($external);
  }

}
 ?>

Did this file decode correctly?

Original Code

<?php

final class PhabricatorRedirectController extends PhabricatorController {

  public function shouldRequireLogin() {
    return false;
  }

  public function shouldRequireEnabledUser() {
    return false;
  }

  public function handleRequest(AphrontRequest $request) {
    $uri = $request->getURIData('uri');
    $external = $request->getURIData('external', false);
    return id(new AphrontRedirectResponse())
      ->setURI($uri)
      ->setIsExternal($external);
  }

}

Function Calls

None

Variables

None

Stats

MD5 fb9bbaeb0014f673ee8813a78c0eb73f
Eval Count 0
Decode Time 75 ms