提交 ff4beb2c 编写于 作者: K kohsuke

fixed #590. While it's bit ugly, always adding the 'Attic' in the path...

fixed #590. While it's bit ugly, always adding the 'Attic' in the path component seems to make things work.
See https://hudson.dev.java.net/issues/show_bug.cgi?id=590 for more details.


git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@3435 71c3de6d-444a-0410-be80-ed276b4c234a
上级 bba36dc4
...@@ -35,7 +35,9 @@ public final class ViewCVS extends CVSRepositoryBrowser { ...@@ -35,7 +35,9 @@ public final class ViewCVS extends CVSRepositoryBrowser {
} }
public URL getFileLink(File file) throws IOException { public URL getFileLink(File file) throws IOException {
return new URL(url,trimHeadSlash(file.getFullName())+param()); return new URL(
new URL(url,trimHeadSlash(file.getFullName())),
"Attic/"+file.getSimpleName()+param());
} }
public URL getDiffLink(File file) throws IOException { public URL getDiffLink(File file) throws IOException {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册