Page Menu
Home
Phorge
Search
Configure Global Search
Log In
Files
F439282
PhabricatorPhurlShortURLDefaultController.php
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Size
649 B
Referenced Files
None
Subscribers
None
PhabricatorPhurlShortURLDefaultController.php
View Options
<?php
final
class
PhabricatorPhurlShortURLDefaultController
extends
PhabricatorPhurlController
{
public
function
shouldRequireLogin
()
{
return
false
;
}
public
function
handleRequest
(
AphrontRequest
$request
)
{
$dialog
=
$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.'
));
return
id
(
new
AphrontDialogResponse
())
->
setDialog
(
$dialog
)
->
setHTTPResponseCode
(
404
);
}
}
File Metadata
Details
Attached
Mime Type
text/x-php
Expires
Sun, May 4, 3:51 AM (1 d, 23 h)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
63693
Default Alt Text
PhabricatorPhurlShortURLDefaultController.php (649 B)
Attached To
Mode
rP Phorge
Attached
Detach File
Event Timeline
Log In to Comment