is this a bug with FessSearchAction::redirectToRoot()?

(from github.com/AllenHan5)
Hello

I noticed during redirect, the name of FESS web app (i.e. the context path) was added to the target url. After I made changes as following, the issue was resolved:

protected HtmlResponse redirectToRoot() {
        final String contextPath = request.getServletContext().getContextPath();
        // return newHtmlResponseAsRediect(StringUtil.isBlank(contextPath) ? "/" : contextPath);
        return newHtmlResponseAsRediect("/");
    }

Is it a potential bug, or I should find a different way to address the issue I had?
Thanks

(from github.com/marevol)
Thanks! Fixed in #1620.