https://issues.apache.org/bugzilla/show_bug.cgi?id=55454
--- Comment #3 from Violeta Georgieva <[email protected]> --- What about if we do a change like this? --- org/apache/tomcat/util/http/parser/HttpParser.java (revision 1515761) +++ org/apache/tomcat/util/http/parser/HttpParser.java (working copy) @@ -210,11 +210,13 @@ while (lookForSemiColon == SkipConstantResult.FOUND) { String attribute = readToken(input); + String value = ""; if (skipConstant(input, "=") == SkipConstantResult.FOUND) { - String value = readTokenOrQuotedString(input, true); + value = readTokenOrQuotedString(input, true); + } + + if (attribute != null) { parameters.put(attribute.toLowerCase(Locale.ENGLISH), value); - } else { - parameters.put(attribute.toLowerCase(Locale.ENGLISH), ""); } lookForSemiColon = skipConstant(input, ";"); -- You are receiving this mail because: You are the assignee for the bug. --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
