Changeset e393f82


Ignore:
Timestamp:
May 13, 2014 9:35:12 PM (7 years ago)
Author:
zzz <zzz@…>
Branches:
master
Children:
df71308
Parents:
8480a204
Message:
  • i2psnark: Escaping fixes on details page
File:
1 edited

Legend:

Unmodified
Added
Removed
  • apps/i2psnark/java/src/org/klomp/snark/web/I2PSnarkServlet.java

    r8480a204 re393f82  
    25102510            if (item.isDirectory() && !path.endsWith("/"))
    25112511                path=addPaths(path,"/");
     2512            path = urlEncode(path);
    25122513            String icon = toIcon(item);
    25132514
     
    25302531            if (complete)
    25312532                buf.append("<a href=\"").append(path).append("\">");
    2532             buf.append(item.getName());
     2533            buf.append(item.getName().replace("&", "&amp;"));
    25332534            if (complete)
    25342535                buf.append("</a>");
Note: See TracChangeset for help on using the changeset viewer.