Equal host names should match
Status: Beta
Brought to you by:
sonalb
RFC 2965 states "For two strings that represent paths, P1 and P2,
P1 path-matches P2 if P2 is a prefix of P1 (including the case
where P1 and P2 string-compare equal)." However,
<code>RFC2965CookieParser.tailMatch(new URL("http://
mydomain.com/"), "mydomain.com")</code> returns false
because "mydomain.com" doesn't have two dots in it. Somewhere
there should be a check along the lines of <code>if
(host.equalsIgnoreCase(domain)) return true;</code>