Frankly, I don't even know what NetUtils.normalize is supposed to do, so I cannot be of any help here.
Doesn't it replace, for example /cocoon/src/java/../webapp with /cocoon/src/webapp? i.e. removing .. from paths?
Ah, I see. It would have been nice if the Javadoc actually stated that, wouldn't it?
OK, I won't promise anything, but I'll try to refactor it into something clearer and satisfying the testcases.
Ugo
