You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hc.apache.org by ol...@apache.org on 2010/02/24 20:17:53 UTC
svn commit: r915934 - in /httpcomponents/oac.hc3x/trunk: release_notes.txt
src/java/org/apache/commons/httpclient/HttpMethodDirector.java
Author: olegk
Date: Wed Feb 24 19:17:53 2010
New Revision: 915934
URL: http://svn.apache.org/viewvc?rev=915934&view=rev
Log:
HTTPCLIENT-917: Invalidate proxy authentication state on redirects
Modified:
httpcomponents/oac.hc3x/trunk/release_notes.txt
httpcomponents/oac.hc3x/trunk/src/java/org/apache/commons/httpclient/HttpMethodDirector.java
Modified: httpcomponents/oac.hc3x/trunk/release_notes.txt
URL: http://svn.apache.org/viewvc/httpcomponents/oac.hc3x/trunk/release_notes.txt?rev=915934&r1=915933&r2=915934&view=diff
==============================================================================
--- httpcomponents/oac.hc3x/trunk/release_notes.txt (original)
+++ httpcomponents/oac.hc3x/trunk/release_notes.txt Wed Feb 24 19:17:53 2010
@@ -1,5 +1,8 @@
Changes since 3.1 Final
+* [HTTPCLIENT-917] - Invalidate proxy authentication state on redirects.
+ Contributed by Karl Wright <kwright at metacarta.com>
+
* [HTTPCLIENT-848] - Connections not released when SSL tunneling fails.
Contributed by Oleg Kalnichevski <olegk at apache.org>
Modified: httpcomponents/oac.hc3x/trunk/src/java/org/apache/commons/httpclient/HttpMethodDirector.java
URL: http://svn.apache.org/viewvc/httpcomponents/oac.hc3x/trunk/src/java/org/apache/commons/httpclient/HttpMethodDirector.java?rev=915934&r1=915933&r2=915934&view=diff
==============================================================================
--- httpcomponents/oac.hc3x/trunk/src/java/org/apache/commons/httpclient/HttpMethodDirector.java (original)
+++ httpcomponents/oac.hc3x/trunk/src/java/org/apache/commons/httpclient/HttpMethodDirector.java Wed Feb 24 19:17:53 2010
@@ -645,7 +645,8 @@
+ "' to '" + redirectUri.getEscapedURI());
}
//And finally invalidate the actual authentication scheme
- method.getHostAuthState().invalidate();
+ method.getHostAuthState().invalidate();
+ method.getProxyAuthState().invalidate();
return true;
}