DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT <http://nagoya.apache.org/bugzilla/show_bug.cgi?id=25264>. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE.
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=25264 Cookie rejected ------- Additional Comments From [EMAIL PROTECTED] 2003-12-07 00:24 ------- This patch solves the problem when using CookieSpecBase (COMPATIBILITY) diff -r1.20 CookieSpecBase.java 424a425 > String cookieDomain = cookie.getDomain(); 430c431,434 < if (!host.endsWith(cookie.getDomain())) { --- > // add a dot on the domain to match host myhost.net with cookie domain .myhost.net > String testHost = "." + host; > if (!testHost.endsWith(cookieDomain)) { 432c436 < "Illegal domain attribute \"" + cookie.getDomain() --- > "Illegal domain attribute \"" + cookieDomain 436c440 < if (!host.equals(cookie.getDomain())) { --- > if (!host.equals(cookieDomain)) { 438c442 < "Illegal domain attribute \"" + cookie.getDomain() --- > "Illegal domain attribute \"" + cookieDomain --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]