Page MenuHomePhabricator

D11830.diff
No OneTemporary

D11830.diff

diff --git a/src/applications/search/engine/PhabricatorJumpNavHandler.php b/src/applications/search/engine/PhabricatorJumpNavHandler.php
--- a/src/applications/search/engine/PhabricatorJumpNavHandler.php
+++ b/src/applications/search/engine/PhabricatorJumpNavHandler.php
@@ -7,7 +7,7 @@
$help_href = PhabricatorEnv::getDocLink('Jump Nav User Guide');
$patterns = array(
- '/^help/i' => 'uri:'.$help_href,
+ '/^help/i' => 'exturi:'.$help_href,
'/^a$/i' => 'uri:/audit/',
'/^f$/i' => 'uri:/feed/',
'/^d$/i' => 'uri:/differential/',
@@ -28,6 +28,10 @@
if (!strncmp($effect, 'uri:', 4)) {
return id(new AphrontRedirectResponse())
->setURI(substr($effect, 4));
+ } else if (!strncmp($effect, 'exturi:', 7)) {
+ return id(new AphrontRedirectResponse())
+ ->setURI(substr($effect, 7))
+ ->setIsExternal(true);
} else {
switch ($effect) {
case 'user':

File Metadata

Mime Type
text/plain
Expires
Tue, Nov 12, 2:29 AM (1 w, 1 d ago)
Storage Engine
blob
Storage Format
Encrypted (AES-256-CBC)
Storage Handle
6717695
Default Alt Text
D11830.diff (1 KB)

Event Timeline