3 final class PhabricatorPhurlShortURLDefaultController
4 extends PhabricatorPhurlController
{
6 public function shouldRequireLogin() {
10 public function handleRequest(AphrontRequest
$request) {
11 $dialog = $this->newDialog()
12 ->setTitle(pht('Invalid URL'))
14 pht('This domain can only be used to open URLs'.
15 ' shortened using the Phurl application. The'.
16 ' URL you are trying to access does not have'.
17 ' a Phurl URL associated with it.'));
19 return id(new AphrontDialogResponse())
21 ->setHTTPResponseCode(404);