|
|
@ -237,7 +237,7 @@ public class ParameterList {
|
|
|
|
if ((char)type == ';' || type == HeaderTokenizer.Token.ATOM) {
|
|
|
|
if ((char)type == ';' || type == HeaderTokenizer.Token.ATOM) {
|
|
|
|
// expect parameter name
|
|
|
|
// expect parameter name
|
|
|
|
if (type == HeaderTokenizer.Token.ATOM)
|
|
|
|
if (type == HeaderTokenizer.Token.ATOM)
|
|
|
|
eu.faircode.email.Log.e("In parameter list <" + s + ">" +
|
|
|
|
eu.faircode.email.Log.w("In parameter list <" + s + ">" +
|
|
|
|
", at " + h.getNextPos() +
|
|
|
|
", at " + h.getNextPos() +
|
|
|
|
", expected ';', allowing \"" +
|
|
|
|
", expected ';', allowing \"" +
|
|
|
|
tk.getValue() + "\"");
|
|
|
|
tk.getValue() + "\"");
|
|
|
@ -250,7 +250,7 @@ public class ParameterList {
|
|
|
|
// parameter name must be a MIME Atom
|
|
|
|
// parameter name must be a MIME Atom
|
|
|
|
if (tk.getType() != HeaderTokenizer.Token.ATOM) {
|
|
|
|
if (tk.getType() != HeaderTokenizer.Token.ATOM) {
|
|
|
|
if (!recovered && !eu.faircode.email.BuildConfig.PLAY_STORE_RELEASE)
|
|
|
|
if (!recovered && !eu.faircode.email.BuildConfig.PLAY_STORE_RELEASE)
|
|
|
|
eu.faircode.email.Log.e("In parameter list <" + s + ">" +
|
|
|
|
eu.faircode.email.Log.w("In parameter list <" + s + ">" +
|
|
|
|
", at " + h.getNextPos() +
|
|
|
|
", at " + h.getNextPos() +
|
|
|
|
", expected parameter name, " +
|
|
|
|
", expected parameter name, " +
|
|
|
|
"got \"" + tk.getValue() + "\"");
|
|
|
|
"got \"" + tk.getValue() + "\"");
|
|
|
@ -263,7 +263,7 @@ public class ParameterList {
|
|
|
|
tk = h.next();
|
|
|
|
tk = h.next();
|
|
|
|
if ((char)tk.getType() != '=') {
|
|
|
|
if ((char)tk.getType() != '=') {
|
|
|
|
if (!recovered && !eu.faircode.email.BuildConfig.PLAY_STORE_RELEASE)
|
|
|
|
if (!recovered && !eu.faircode.email.BuildConfig.PLAY_STORE_RELEASE)
|
|
|
|
eu.faircode.email.Log.e("In parameter list <" + s + ">" +
|
|
|
|
eu.faircode.email.Log.w("In parameter list <" + s + ">" +
|
|
|
|
", at " + h.getNextPos() +
|
|
|
|
", at " + h.getNextPos() +
|
|
|
|
", expected '=', " +
|
|
|
|
", expected '=', " +
|
|
|
|
"got \"" + tk.getValue() + "\"");
|
|
|
|
"got \"" + tk.getValue() + "\"");
|
|
|
@ -284,7 +284,7 @@ public class ParameterList {
|
|
|
|
if (type != HeaderTokenizer.Token.ATOM &&
|
|
|
|
if (type != HeaderTokenizer.Token.ATOM &&
|
|
|
|
type != HeaderTokenizer.Token.QUOTEDSTRING) {
|
|
|
|
type != HeaderTokenizer.Token.QUOTEDSTRING) {
|
|
|
|
if (!recovered && !eu.faircode.email.BuildConfig.PLAY_STORE_RELEASE)
|
|
|
|
if (!recovered && !eu.faircode.email.BuildConfig.PLAY_STORE_RELEASE)
|
|
|
|
eu.faircode.email.Log.e("In parameter list <" + s + ">" +
|
|
|
|
eu.faircode.email.Log.w("In parameter list <" + s + ">" +
|
|
|
|
", at " + h.getNextPos() +
|
|
|
|
", at " + h.getNextPos() +
|
|
|
|
", expected parameter value, " +
|
|
|
|
", expected parameter value, " +
|
|
|
|
"got \"" + tk.getValue() + "\"");
|
|
|
|
"got \"" + tk.getValue() + "\"");
|
|
|
@ -317,7 +317,7 @@ public class ParameterList {
|
|
|
|
list.put(lastName, value);
|
|
|
|
list.put(lastName, value);
|
|
|
|
} else {
|
|
|
|
} else {
|
|
|
|
if (!recovered && !eu.faircode.email.BuildConfig.PLAY_STORE_RELEASE)
|
|
|
|
if (!recovered && !eu.faircode.email.BuildConfig.PLAY_STORE_RELEASE)
|
|
|
|
eu.faircode.email.Log.e("In parameter list <" + s + ">" +
|
|
|
|
eu.faircode.email.Log.w("In parameter list <" + s + ">" +
|
|
|
|
", at " + h.getNextPos() +
|
|
|
|
", at " + h.getNextPos() +
|
|
|
|
", expected ';', got \"" +
|
|
|
|
", expected ';', got \"" +
|
|
|
|
tk.getValue() + "\"");
|
|
|
|
tk.getValue() + "\"");
|
|
|
|