added encodeRedirectURL to Dump servlet
This commit is contained in:
parent
3812622365
commit
fbb53c2d23
|
@ -504,6 +504,10 @@ public class Dump extends HttpServlet
|
|||
pout.write("<th align=\"right\">isSecure(): </th>");
|
||||
pout.write("<td>"+request.isSecure()+"</td>");
|
||||
|
||||
pout.write("</tr><tr>\n");
|
||||
pout.write("<th align=\"right\">encodeRedirectURL(/foo?bar): </th>");
|
||||
pout.write("<td>"+response.encodeRedirectURL("/foo?bar")+"</td>");
|
||||
|
||||
pout.write("</tr><tr>\n");
|
||||
pout.write("<th align=\"right\">isUserInRole(admin): </th>");
|
||||
pout.write("<td>"+request.isUserInRole("admin")+"</td>");
|
||||
|
|
Loading…
Reference in New Issue