Re: wicket redirecting to relative URLs

2010-04-09 Thread Nikita Tovstoles
For folks who use JMeter to load test wicket apps and are having problems with 404s on redirect URLs containing '/..': I posted a patch to JMeter trunk that fixes the problem by simulating behavior of major browsers - collapsing the URL before issuing the successive GET: https://issues.apache.org/

Re: wicket redirecting to relative URLs

2010-04-08 Thread Nikita Tovstoles
ahh, good point. I was looking at this: http://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html#sec14.30 Are you suggesting it's Tomcat's responsibility to either: - collapse the '/../' when generating the absolute URL for the Lo

Re: wicket redirecting to relative URLs

2010-04-08 Thread Igor Vaynberg
as far as i know we do not set the Location header directly anywhere in the code, instead we use HttpServletResponse.sendRedirect() - which does allow relative urls. so where are we breaking the RFC? -igor On Thu, Apr 8, 2010 at 8:35 AM, Nikita Tovstoles wrote: > I am working on a patch to JMet

wicket redirecting to relative URLs

2010-04-08 Thread Nikita Tovstoles
I am working on a patch to JMeter to rewrite absolute URLs containing '/../' before issuing GETs and have an observation and a question. The problem is described here: http://markmail.org/thread/3ci5hayvqyjhi2ud FWIW this was discussed before and there's WICKET-2728 and related JIRAs. My understan