From: Marc G. <mgu...@ya...> - 2005-08-11 14:18:07
|
>>What does your browser do (Firefox for instance, because IE...): does it change the received "\" to "/"? > > Ya, I noticed IE replaces "/" with "\" ... and the tested application > only needs to run on IE, so these uri's must be worked with. "/" with "\"? Sure? Not "\" with "/"? Does your "'/a/b/..\BIN\c.ASP" gets the same thinks as "'/a/b/../BIN/c.ASP"? >>Is it in a redirect or as src of a frame, what suggests your stack trace? > > I think it is as src of an IFrame .. the page being loaded has several IFrames. > > Do you think it is possible to solve this without building HtmlUnit > source with added code to convert "\" to "/"? a complete fix would need to build htmlunit to be integrate. Nevertheless I guess that you can write your own WebConnection wrapping the default one and rewriting the urls containing "\". Marc. |