Changeset d6b28a4


Ignore:
Timestamp:
Apr 18, 2013 3:24:46 PM (8 years ago)
Author:
zzz <zzz@…>
Branches:
master
Children:
b370fe6
Parents:
72ead2bb
Message:
  • i2ptunnel: Set target=_top in all external links to break out of console iframe
File:
1 edited

Legend:

Unmodified
Added
Removed
  • apps/i2ptunnel/jsp/index.jsp

    r72ead2bb rd6b28a4  
    116116            if (indexBean.isServerTargetLinkValid(curServer)) {
    117117          %>
    118             <a href="http://<%=indexBean.getServerTarget(curServer)%>/" title="Test HTTP server, bypassing I2P"><%=indexBean.getServerTarget(curServer)%></a>
     118            <a href="http://<%=indexBean.getServerTarget(curServer)%>/" title="Test HTTP server, bypassing I2P" target="_top"><%=indexBean.getServerTarget(curServer)%></a>
    119119        <%
    120120            } else {
     
    128128            if (("httpserver".equals(indexBean.getInternalType(curServer)) || ("httpbidirserver".equals(indexBean.getInternalType(curServer)))) && indexBean.getTunnelStatus(curServer) == IndexBean.RUNNING) {
    129129          %><label><%=intl._("Preview")%>:</label>   
    130             <a class="control" title="Test HTTP server through I2P" href="http://<%=indexBean.getDestHashBase32(curServer)%>.b32.i2p" target="_parent"><%=intl._("Preview")%></a>
     130            <a class="control" title="Test HTTP server through I2P" href="http://<%=indexBean.getDestHashBase32(curServer)%>.b32.i2p" target="_top"><%=intl._("Preview")%></a>
    131131            <%
    132132            } else if (indexBean.getTunnelStatus(curServer) == IndexBean.RUNNING) {
Note: See TracChangeset for help on using the changeset viewer.