We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c087728 commit 5565ec6Copy full SHA for 5565ec6
opengrok-web/src/main/webapp/rss.jsp
@@ -40,10 +40,10 @@ org.opengrok.web.PageConfig"
40
PageConfig cfg = PageConfig.get(request);
41
cfg.checkSourceRootExistence();
42
43
- String redir = cfg.canProcess();
44
- if (redir == null || !redir.isEmpty()) {
45
- if (redir != null) {
46
- response.sendRedirect(redir);
+ String redirectLocation = cfg.canProcess();
+ if (redirectLocation == null || !redirectLocation.isEmpty()) {
+ if (redirectLocation != null) {
+ response.sendRedirect(redirectLocation);
47
} else {
48
response.sendError(HttpServletResponse.SC_NOT_FOUND);
49
}
0 commit comments