Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Paste
P6768
I think this is it
Active
Public
Actions
Authored by
•
demon
on Mar 1 2018, 12:09 AM.
Edit Paste
Archive Paste
View Raw File
Subscribe
Mute Notifications
Award Token
Flag For Later
Tags
None
Referenced Files
F14133146: I think this is it
Mar 1 2018, 12:09 AM
2018-03-01 00:09:32 (UTC+0)
Subscribers
None
diff --git a/java/com/google/gitiles/PathServlet.java b/java/com/google/gitiles/PathServlet.java
index 0ecb875..480e8b3 100644
--- a/java/com/google/gitiles/PathServlet.java
+++ b/java/com/google/gitiles/PathServlet.java
@@ -609,6 +609,7 @@ public class PathServlet extends BaseServlet {
String moduleRepo = PathUtil.simplifyPathUpToRoot(modulesUrl, view.getRepositoryName());
if (moduleRepo != null) {
modulesUrl = urls.getBaseGitUrl(req) + moduleRepo;
+ remoteUrl = urls.getHostName(req) + moduleRepo;
}
} else {
remoteUrl = sw.getRemoteUrl();
Event Timeline
•
demon
created this paste.
Mar 1 2018, 12:09 AM
2018-03-01 00:09:32 (UTC+0)
Log In to Comment