Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F13991693
D11830.id.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
1 KB
Referenced Files
None
Subscribers
None
D11830.id.diff
View Options
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
Details
Attached
Mime Type
text/plain
Expires
Wed, Oct 23, 12:09 PM (3 w, 6 d ago)
Storage Engine
blob
Storage Format
Encrypted (AES-256-CBC)
Storage Handle
6717695
Default Alt Text
D11830.id.diff (1 KB)
Attached To
Mode
D11830: Search - fix external redirect issue for "help" search
Attached
Detach File
Event Timeline
Log In to Comment