Changeset a46a0b1


Ignore:
Timestamp:
Sep 24, 2016 3:46:57 PM (4 years ago)
Author:
zzz <zzz@…>
Branches:
master
Children:
98e3ca4
Parents:
d4f786c
Message:

i2ptunnel: Don't accept default 'mysite.i2p' as a valid spoof host

File:
1 edited

Legend:

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

    rd4f786c ra46a0b1  
    255255                if (name == null || name.equals(""))
    256256                    name = editBean.getTunnelName(curTunnel);
    257                 if (name != null && !name.equals("") && !name.contains(" ") && name.endsWith(".i2p")) {
     257                // mysite.i2p is set in the installed i2ptunnel.config
     258                if (name != null && !name.equals("") && !name.equals("mysite.i2p") && !name.contains(" ") && name.endsWith(".i2p")) {
    258259         %>
    259260              <label>
Note: See TracChangeset for help on using the changeset viewer.