Re: Potential Bug In Circular Redirect

2006-02-17 Thread Oleg Kalnichevski
On Fri, 2006-02-17 at 12:51 -0500, Ryan Smith wrote: > Olag, > > Thanks, i am exactly looking for a project like this. Thanks so much. > I was thinking, the component idea is great, i like the http-spider, > since thats what i work on . > I have an open source project that was started a year ago

Re: Potential Bug In Circular Redirect

2006-02-17 Thread Ryan Smith
Olag, Thanks, i am exactly looking for a project like this. Thanks so much. I was thinking, the component idea is great, i like the http-spider, since thats what i work on . I have an open source project that was started a year ago: http://aspider.sf.net/ This is a autonomous java spider 1.4 c

Re: Potential Bug In Circular Redirect

2006-02-17 Thread Oleg Kalnichevski
Ryan Smith wrote: Oleg, Understood, thanks. Well, in the future, if you would ever decide to offer that functionality to be lienient on http as an option, i have some code for ya. Reverse Engineering popular browsers is a pain! Thanks again! :) -Ryan Ryan, Commons HttpClient in its presen

Re: Potential Bug In Circular Redirect

2006-02-17 Thread Ryan Smith
Oleg, Understood, thanks. Well, in the future, if you would ever decide to offer that functionality to be lienient on http as an option, i have some code for ya. Reverse Engineering popular browsers is a pain! Thanks again! :) -Ryan Oleg Kalnichevski wrote: Ryan Smith wrote: Oleg, Thanks f

Re: Potential Bug In Circular Redirect

2006-02-17 Thread Oleg Kalnichevski
Ryan Smith wrote: Oleg, Thanks for the reply. Ok, the behavior can be correct, i understand you have a flag to disable circular redirects, but this still seems inappropriate. Becasue i still want to guard against genuine circular redirects from these false circular redirects, and since all br

Re: Potential Bug In Circular Redirect

2006-02-17 Thread Ryan Smith
Oleg, Thanks for the reply. Ok, the behavior can be correct, i understand you have a flag to disable circular redirects, but this still seems inappropriate. Becasue i still want to guard against genuine circular redirects from these false circular redirects, and since all browsers support this

Re: Potential Bug In Circular Redirect

2006-02-16 Thread Oleg Kalnichevski
On Thu, 2006-02-16 at 17:24 -0500, Ryan Smith wrote: ... > > > I am using 3.0 RELEASE > But i checked out the latest snap shot code, and the logic in > HttpMethodDirector.java only checks for the URI, not URI + Query string. > Ryan, I think this behavior is correct. It was implemented per thi

Re: Potential Bug In Circular Redirect

2006-02-16 Thread Ryan Smith
Oleg Kalnichevski wrote: On Thu, 2006-02-16 at 15:39 -0500, Ryan Smith wrote: If i try a GET request on http://domain.com/site.html?x=1 And the domain.com web server does a 302 redirect to : /site.html?y=2 HttpCleint thinks its a Circular redirect b/c its *JUST* looking at the uri, not t

Re: Potential Bug In Circular Redirect

2006-02-16 Thread Oleg Kalnichevski
On Thu, 2006-02-16 at 15:39 -0500, Ryan Smith wrote: > If i try a GET request on > > http://domain.com/site.html?x=1 > > And the domain.com web server does a 302 redirect to : /site.html?y=2 > > HttpCleint thinks its a Circular redirect b/c its *JUST* looking at the > uri, not the uri + query s

Potential Bug In Circular Redirect

2006-02-16 Thread Ryan Smith
If i try a GET request on http://domain.com/site.html?x=1 And the domain.com web server does a 302 redirect to : /site.html?y=2 HttpCleint thinks its a Circular redirect b/c its *JUST* looking at the uri, not the uri + query string. Not sure if this breaks the protocol or not, but thought i