forked from I2P_Developers/i2p.i2p
Parser: Allow '=' in values
This commit is contained in:
@ -266,6 +266,9 @@ class SAMUtils {
|
|||||||
case '=':
|
case '=':
|
||||||
if (isQuoted) {
|
if (isQuoted) {
|
||||||
buf.append(c);
|
buf.append(c);
|
||||||
|
} else if (key != null) {
|
||||||
|
// '=' in a value
|
||||||
|
buf.append(c);
|
||||||
} else {
|
} else {
|
||||||
if (buf.length() == 0)
|
if (buf.length() == 0)
|
||||||
throw new SAMException("Empty parameter name");
|
throw new SAMException("Empty parameter name");
|
||||||
|
Reference in New Issue
Block a user