Sorry, I just noticed this was fixed in the snapshot.

Dustin


On 02/10/2010 05:35 PM, Dustin N. Jenkins wrote:
> I'm using JDK 1.6 build 18, with Fedora Core 8 and Restlet 2.0rc7 on
> Tomcat 6.0.24.
>
> I have a peculiar problem that started with Restlet 2.0rc7.  The
> Client.get() calls are ignoring the query string when called:
>
> Client client = new Client(Protocol.HTTP);
> Response response =
> client.get("http://www.google.com/search?q=Supernatural";);
>
> This URL should return the search results page, but it instead returns
> the redirect to "http://www.google.com/webhp";, which is the redirect if
> no search parameters (the query string) are given.  Is this a known bug?
>
> It works fine if I use the Client.get(new Reference("http",
> "www.google.com", 80, "/search", "q=Supernatural", null));
>
> Thank you!
> Dustin
>
> ------------------------------------------------------
> http://restlet.tigris.org/ds/viewMessage.do?dsForumId=4447&dsMessageId=2446591
>    

-- 


Dustin N. Jenkins | Tel/Tél: 250.363.3101 | [email protected]

facsimile/télécopieur: (250) 363-0045

National Research Council Canada | 5071 West Saanich Rd, Victoria BC. 
V9E 2E7

Conseil national de recherches Canada | 5071, ch. West Saanich, Victoria 
(C.-B) V9E 2E7

Government of Canada | Gouvernement du Canada

------------------------------------------------------
http://restlet.tigris.org/ds/viewMessage.do?dsForumId=4447&dsMessageId=2446737

Reply via email to