Motivation: * Path attribute should be null, not empty String, if it's passed as "Path=". * Only extract attribute value when the name is recognized. * Only extract Expires attribute value String if MaxAge is undefined as it has precedence. Modification: Modify ClientCookieDecoder. Add "testIgnoreEmptyPath" test in ClientCookieDecoderTest. Result: More idyomatic Path behavior (like Domain). Minor performance improvement in some corner cases. |
||
---|---|---|
.. | ||
ClientCookieDecoder.java | ||
ClientCookieEncoder.java | ||
Cookie.java | ||
CookieDecoder.java | ||
CookieEncoder.java | ||
CookieHeaderNames.java | ||
CookieUtil.java | ||
DefaultCookie.java | ||
package-info.java | ||
ServerCookieDecoder.java | ||
ServerCookieEncoder.java |