Page MenuHomePhorge

PhabricatorPhurlShortURLController.php
No OneTemporary

Size
483 B
Referenced Files
None
Subscribers
None

PhabricatorPhurlShortURLController.php

<?php
final class PhabricatorPhurlShortURLController
extends PhabricatorPhurlController {
public function shouldRequireLogin() {
return false;
}
public function handleRequest(AphrontRequest $request) {
$viewer = $this->getViewer();
$append = $request->getURIData('append');
$main_domain_uri = PhabricatorEnv::getProductionURI('/u/'.$append);
return id(new AphrontRedirectResponse())
->setIsExternal(true)
->setURI($main_domain_uri);
}
}

File Metadata

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
63688
Default Alt Text
PhabricatorPhurlShortURLController.php (483 B)

Event Timeline