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 c73aa1a commit 31fbf4bCopy full SHA for 31fbf4b
opengrok-web/src/main/webapp/mast.jsp
@@ -44,12 +44,12 @@ org.opengrok.indexer.web.Util"%>
44
return;
45
}
46
47
- String redir = cfg.canProcess();
48
- if (redir == null || !redir.isEmpty()) {
49
- if (redir == null) {
+ String redirectLocation = cfg.canProcess();
+ if (redirectLocation == null || !redirectLocation.isEmpty()) {
+ if (redirectLocation == null) {
50
response.sendError(HttpServletResponse.SC_NOT_FOUND);
51
} else {
52
- response.sendRedirect(redir);
+ response.sendRedirect(redirectLocation);
53
54
55
0 commit comments