You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by fs...@apache.org on 2015/11/21 17:48:57 UTC
svn commit: r1715544 -
/tomcat/tc8.0.x/trunk/test/org/apache/catalina/authenticator/TestNonLoginAndBasicAuthenticator.java
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-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org