Changeset a4114b9


Ignore:
Timestamp:
Dec 9, 2013 8:45:11 PM (7 years ago)
Author:
str4d <str4d@…>
Branches:
master
Children:
6864162, 7d3aa33
Parents:
de184ed1
Message:

Deprecation warning fixes

Location:
apps/routerconsole/jsp
Files:
6 edited

Legend:

Unmodified
Added
Removed
  • apps/routerconsole/jsp/dns.jsp

    rde184ed1 ra4114b9  
    88    boolean testIFrame = tester.allowIFrame(request.getHeader("User-Agent"));
    99    if (!testIFrame) {
    10         response.setStatus(302, "Moved");
     10        response.setStatus(302);
    1111        response.setHeader("Location", "/susidns/index");
    1212    } else {
  • apps/routerconsole/jsp/i2ptunnelmgr.jsp

    rde184ed1 ra4114b9  
    88    boolean testIFrame = tester.allowIFrame(request.getHeader("User-Agent"));
    99    if (!testIFrame) {
    10         response.setStatus(302, "Moved");
     10        response.setStatus(302);
    1111        response.setHeader("Location", "/i2ptunnel/");
    1212    } else {
  • apps/routerconsole/jsp/index.jsp

    rde184ed1 ra4114b9  
    66    //  while preserving any query parameters
    77    //
    8     response.setStatus(302, "Moved");
     8    response.setStatus(302);
    99    String req = request.getRequestURL().toString();
    1010    StringBuilder buf = new StringBuilder(128);
  • apps/routerconsole/jsp/search.jsp

    rde184ed1 ra4114b9  
    1414    String url = searchhelper.getURL();
    1515    if (url != null) {
    16         response.setStatus(303, "Redirecting");
     16        response.setStatus(303);
    1717        response.setHeader("Location", url);
    1818%>
  • apps/routerconsole/jsp/torrents.jsp

    rde184ed1 ra4114b9  
    88    boolean testIFrame = tester.allowIFrame(request.getHeader("User-Agent"));
    99    if (!testIFrame) {
    10         response.setStatus(302, "Moved");
     10        response.setStatus(302);
    1111        response.setHeader("Location", "/i2psnark/");
    1212    } else {
  • apps/routerconsole/jsp/webmail.jsp

    rde184ed1 ra4114b9  
    88    boolean testIFrame = tester.allowIFrame(request.getHeader("User-Agent"));
    99    if (!testIFrame) {
    10         response.setStatus(302, "Moved");
     10        response.setStatus(302);
    1111        response.setHeader("Location", "/susimail/susimail");
    1212    } else {
Note: See TracChangeset for help on using the changeset viewer.