Page MenuHomePhabricator

D14450.id34931.diff
No OneTemporary

D14450.id34931.diff

diff --git a/src/applications/phurl/controller/PhabricatorPhurlShortURLDefaultController.php b/src/applications/phurl/controller/PhabricatorPhurlShortURLDefaultController.php
--- a/src/applications/phurl/controller/PhabricatorPhurlShortURLDefaultController.php
+++ b/src/applications/phurl/controller/PhabricatorPhurlShortURLDefaultController.php
@@ -8,6 +8,12 @@
}
public function handleRequest(AphrontRequest $request) {
- return new Aphront404Response();
+ return $this->newDialog()
+ ->setTitle(pht('Invalid URL'))
+ ->appendParagraph(
+ pht('This domain can only be used to open URLs'.
+ ' shortened using the Phurl application. The'.
+ ' URL you are trying to access does not have'.
+ ' a Phurl URL associated with it.'));
}
}

File Metadata

Mime Type
text/plain
Expires
Wed, Mar 19, 7:46 AM (3 d, 7 h ago)
Storage Engine
blob
Storage Format
Encrypted (AES-256-CBC)
Storage Handle
7711044
Default Alt Text
D14450.id34931.diff (796 B)

Event Timeline