Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F14025103
D14741.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
612 B
Referenced Files
None
Subscribers
None
D14741.diff
View Options
diff --git a/src/applications/phame/controller/PhameLiveController.php b/src/applications/phame/controller/PhameLiveController.php
--- a/src/applications/phame/controller/PhameLiveController.php
+++ b/src/applications/phame/controller/PhameLiveController.php
@@ -129,7 +129,14 @@
$uri = $post->getViewURI();
}
- return id(new AphrontRedirectResponse())->setURI($uri);
+ $response = id(new AphrontRedirectResponse())
+ ->setURI($uri);
+
+ if ($is_external) {
+ $response->setIsExternal(true);
+ }
+
+ return $response;
}
}
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Fri, Nov 8, 2:28 PM (1 w, 3 d ago)
Storage Engine
blob
Storage Format
Encrypted (AES-256-CBC)
Storage Handle
6733500
Default Alt Text
D14741.diff (612 B)
Attached To
Mode
D14741: Mark external -> external redirects in Phame to canonicalize URIs as "external"
Attached
Detach File
Event Timeline
Log In to Comment