"?" +
redirect.substring(pos + 1, redirect.length());
}
redirect = newRedirect;
}
<BUG>if (!actionRequest.getWindowState().toString().equals(
"pop_up")) {
sendRedirect(actionRequest, actionResponse, redirect);</BUG>
}
else {

"?" +
redirect.substring(pos + 1, redirect.length());
}
redirect = newRedirect;
}
WindowState windowState = actionRequest.getWindowState();
if (!windowState.equals(LiferayWindowState.POP_UP)) {
sendRedirect(actionRequest, actionResponse, redirect);
}
else {
