Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F93173182
PhabricatorPhurlShortURLDefaultController.php
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Subscribers
None
File Metadata
Details
File Info
Storage
Attached
Created
Tue, Nov 26, 18:36
Size
649 B
Mime Type
text/x-php
Expires
Thu, Nov 28, 18:36 (2 d)
Engine
blob
Format
Raw Data
Handle
22586334
Attached To
rPH Phabricator
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
);
}
}
Event Timeline
Log In to Comment