Changeset e65ec2a


Ignore:
Timestamp:
Aug 23, 2014 1:20:25 PM (6 years ago)
Author:
zzz <zzz@…>
Branches:
master
Children:
819504f
Parents:
1bc355b
Message:

i2ptunnel escape fixes

File:
1 edited

Legend:

Unmodified
Added
Removed
  • apps/i2ptunnel/java/src/net/i2p/i2ptunnel/web/IndexBean.java

    r1bc355b re65ec2a  
    485485        TunnelController tun = getController(tunnel);
    486486        if (tun != null && tun.getName() != null)
    487             return tun.getName();
     487            return DataHelper.escapeHTML(tun.getName());
    488488        else
    489489            return _("New Tunnel");
     
    591591        TunnelController tun = getController(tunnel);
    592592        if (tun != null && tun.getDescription() != null)
    593             return tun.getDescription();
     593            return DataHelper.escapeHTML(tun.getDescription());
    594594        else
    595595            return "";
Note: See TracChangeset for help on using the changeset viewer.