Sylvain Wallez wrote: > > What about using the two ;-) > 1/ test if the URI is absolute. For this, you can use Excalibur's > SourceUtil.getScheme() which performs a strict control on scheme syntax > without using a regexp. > 2/ if not, use the regexp only on the part before the '?' (BTW, if '?' > is part of the URI, it should be encoded as %3F > That's what I tried to propose :)
Carsten