forked from I2P_Developers/i2p.i2p
* i2ptunnel: Fix filtering of custom options
This commit is contained in:
@@ -17,6 +17,7 @@ import java.util.TreeMap;
|
||||
import net.i2p.client.I2PClient;
|
||||
import net.i2p.crypto.SigType;
|
||||
import net.i2p.data.Base64;
|
||||
import net.i2p.data.DataHelper;
|
||||
import net.i2p.data.Destination;
|
||||
import net.i2p.data.PrivateKeyFile;
|
||||
import net.i2p.data.Signature;
|
||||
@@ -452,7 +453,7 @@ public class EditBean extends IndexBean {
|
||||
space = true;
|
||||
buf.append(e.getKey()).append('=').append(e.getValue());
|
||||
}
|
||||
return buf.toString();
|
||||
return DataHelper.escapeHTML(buf.toString());
|
||||
} else {
|
||||
return "";
|
||||
}
|
||||
|
@@ -728,7 +728,7 @@ public class IndexBean {
|
||||
_tunnelBackupQuantity = (tunnelBackupQuantity != null ? tunnelBackupQuantity.trim() : null);
|
||||
}
|
||||
/** what I2P session overrides should be used */
|
||||
public void setCustomOptions(String customOptions) {
|
||||
public void setNofilter_customOptions(String customOptions) {
|
||||
_customOptions = (customOptions != null ? customOptions.trim() : null);
|
||||
}
|
||||
/** what HTTP outproxies should be used (httpclient specific) */
|
||||
|
Reference in New Issue
Block a user