I too had this problem . I had to go back to version 4.0.3. Thanks Sankar
smithnsl wrote: > > When provided with this URL: > http://www.cnn.com/2010/WORLD/europe/12/12/uk.protests.police/index.html?eref=Feed%3A > > I get unknownhostexception, probably because it things the host name > continues till : (unencoded form of %3A) > > Can you please suggest a work around? > > > java.net.UnknownHostException: > www.cnn.com/2010/WORLD/europe/12/12/uk.protests.police/index.html?eref=Feed > java.net.UnknownHostException: > www.cnn.com/2010/WORLD/europe/12/12/uk.protests.police/index.html?eref=Feed > at java.net.InetAddress.getAllByName0(InetAddress.java:1158) > at java.net.InetAddress.getAllByName(InetAddress.java:1084) > at java.net.InetAddress.getAllByName(InetAddress.java:1020) > at > org.apache.http.impl.conn.DefaultClientConnectionOperator.resolveHostname(DefaultClientConnectionOperator.java:242) > at > org.apache.http.impl.conn.DefaultClientConnectionOperator.openConnection(DefaultClientConnectionOperator.java:130) > at > org.apache.http.impl.conn.AbstractPoolEntry.open(AbstractPoolEntry.java:149) > at > org.apache.http.impl.conn.AbstractPooledConnAdapter.open(AbstractPooledConnAdapter.java:121) > at > org.apache.http.impl.client.DefaultRequestDirector.tryConnect(DefaultRequestDirector.java:562) > at > org.apache.http.impl.client.DefaultRequestDirector.execute(DefaultRequestDirector.java:415) > at > org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:700) > at > org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:625) > -- View this message in context: http://old.nabble.com/issue-with-4.1--3A-encoding-not-handled-in-url-parameter--tp30442656p30447845.html Sent from the HttpClient-User mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
