From: Joel Johnson Date: Tue, 30 Jun 2015 16:32:33 +0000 (-0600) Subject: fix feed link from user's repository page X-Git-Tag: v1.7.0~1^2~41^2 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=refs%2Fpull%2F283%2Fhead;p=gitblit.git fix feed link from user's repository page --- diff --git a/src/main/java/com/gitblit/wicket/panels/ProjectRepositoryPanel.java b/src/main/java/com/gitblit/wicket/panels/ProjectRepositoryPanel.java index 91ce9864..efcb1cb6 100644 --- a/src/main/java/com/gitblit/wicket/panels/ProjectRepositoryPanel.java +++ b/src/main/java/com/gitblit/wicket/panels/ProjectRepositoryPanel.java @@ -158,6 +158,7 @@ public class ProjectRepositoryPanel extends BasePanel { add(new Label("repositorySize", localizer.getString("gb.empty", parent)).setEscapeModelStrings(false)); } - add(new ExternalLink("syndication", SyndicationServlet.asLink("", entry.name, null, 0))); + add(new ExternalLink("syndication", SyndicationServlet.asLink(getRequest() + .getRelativePathPrefixToContextRoot(), entry.name, null, 0))); } }