Skip to content

Commit 083ba86

Browse files
committed
Fixed redirect page
1 parent d6e33f9 commit 083ba86

File tree

2 files changed

+5
-7
lines changed

2 files changed

+5
-7
lines changed

core/src/main/java/hudson/PluginWrapper.java

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1439,11 +1439,4 @@ public String getIssueTrackerReportUrl() {
14391439
* Name of the plugin manifest file (to help find where we parse them.)
14401440
*/
14411441
public static final String MANIFEST_FILENAME = "META-INF/MANIFEST.MF";
1442-
1443-
/**
1444-
* Redirects the plugin wrapper root URL to the third-party licenses view used by the About page.
1445-
*/
1446-
public void doIndex(StaplerResponse2 rsp) throws IOException {
1447-
rsp.sendRedirect2("thirdPartyLicenses");
1448-
}
14491442
}
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
<?jelly escape-by-default='true'?>
2+
<j:jelly xmlns:j="jelly:core"
3+
xmlns:st="jelly:stapler">
4+
<st:redirect url="thirdPartyLicenses"/>
5+
</j:jelly>

0 commit comments

Comments
 (0)