United StatesChange Country, Oracle Worldwide Web Sites Communities I am a... I want to...
Bug ID: JDK-6545415 regression of 5017051
JDK-6545415 : regression of 5017051

Details
Type:
Bug
Submit Date:
2007-04-12
Status:
Resolved
Updated Date:
2011-05-30
Project Name:
JDK
Resolved Date:
2007-05-21
Component:
core-libs
OS:
generic
Sub-Component:
java.net
CPU:
generic
Priority:
P2
Resolution:
Fixed
Affected Versions:
1.4.2_13
Fixed Versions:
1.4.2_15 (b02)

Related Reports
Relates:
Relates:

Sub Tasks

Description
With 1.4.2_13 the manual regression test case for 5017051 no longer passes. The regression test can be found on SWAN at /net/nightsvr.sfbay/export3/jpse/regress.library/5017051.

The testcase essentially tests that if a cookie is set in the 401 (Unauthorized) response from a http server, that that cookie is send in the follow http request send to the server with the users credentials. This is no longer the case with 1.4.2_13.

The fix for 4845728 removes the code in sun.net.www.protocol.http.HttpURLConnection that sets the cookie when responding to a 401.

                                    

Comments
EVALUATION

reinstate the code in sun.net.www.protocol.http.HttpURLConnection that sets the cookie while handling a 401 response.
                                     
2007-04-12



Hardware and Software, Engineered to Work Together