geronimo-scm mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jgenen...@apache.org
Subject svn commit: r597071 - /geronimo/sandbox/AsyncHttpClient/src/main/java/org/apache/ahc/codec/HttpIoHandler.java
Date Wed, 21 Nov 2007 13:27:21 GMT
Author: jgenender
Date: Wed Nov 21 05:27:19 2007
New Revision: 597071

URL: http://svn.apache.org/viewvc?rev=597071&view=rev
Log:
GERONIMO-3618 - Removed query portion

Modified:
    geronimo/sandbox/AsyncHttpClient/src/main/java/org/apache/ahc/codec/HttpIoHandler.java

Modified: geronimo/sandbox/AsyncHttpClient/src/main/java/org/apache/ahc/codec/HttpIoHandler.java
URL: http://svn.apache.org/viewvc/geronimo/sandbox/AsyncHttpClient/src/main/java/org/apache/ahc/codec/HttpIoHandler.java?rev=597071&r1=597070&r2=597071&view=diff
==============================================================================
--- geronimo/sandbox/AsyncHttpClient/src/main/java/org/apache/ahc/codec/HttpIoHandler.java
(original)
+++ geronimo/sandbox/AsyncHttpClient/src/main/java/org/apache/ahc/codec/HttpIoHandler.java
Wed Nov 21 05:27:19 2007
@@ -105,7 +105,7 @@
 
             //Change the request url to the redirect
             String query = request.getUrl().getQuery();
-            request.setUrl(new URL(response.getLocation() + (query == null ? "" : "?" + query)));
+            request.setUrl(new URL(response.getLocation()));
 
             //Send the redirect
             client.sendRequest(request);



Mime
View raw message