Author: fschumacher Date: Sat Nov 21 16:48:56 2015 New Revision: 1715544 URL: http://svn.apache.org/viewvc?rev=1715544&view=rev Log: Don't add ":" to cookie name. It is illegal in newer jre.
Modified: tomcat/tc8.0.x/trunk/test/org/apache/catalina/authenticator/TestNonLoginAndBasicAuthenticator.java Modified: tomcat/tc8.0.x/trunk/test/org/apache/catalina/authenticator/TestNonLoginAndBasicAuthenticator.java URL: http://svn.apache.org/viewvc/tomcat/tc8.0.x/trunk/test/org/apache/catalina/authenticator/TestNonLoginAndBasicAuthenticator.java?rev=1715544&r1=1715543&r2=1715544&view=diff ============================================================================== --- tomcat/tc8.0.x/trunk/test/org/apache/catalina/authenticator/TestNonLoginAndBasicAuthenticator.java (original) +++ tomcat/tc8.0.x/trunk/test/org/apache/catalina/authenticator/TestNonLoginAndBasicAuthenticator.java Sat Nov 21 16:48:56 2015 @@ -357,7 +357,7 @@ public class TestNonLoginAndBasicAuthent Map<String,List<String>> respHeaders = new HashMap<>(); if (useCookie && (cookies != null)) { - reqHeaders.put(CLIENT_COOKIE_HEADER + ":", cookies); + reqHeaders.put(CLIENT_COOKIE_HEADER, cookies); } ByteChunk bc = new ByteChunk(); @@ -380,7 +380,7 @@ public class TestNonLoginAndBasicAuthent Map<String,List<String>> respHeaders = new HashMap<>(); if (useCookie && (cookies != null)) { - reqHeaders.put(CLIENT_COOKIE_HEADER + ":", cookies); + reqHeaders.put(CLIENT_COOKIE_HEADER, cookies); } else { if (credentials != null) { @@ -568,4 +568,4 @@ public class TestNonLoginAndBasicAuthent return credentials; } } -} \ No newline at end of file +} --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org