Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[jetty-dev] URIUtil

Hi,

In URIUtil.canonicalPath()

I saw something strange :

            if (skip<=0 && delStart>=0 && delEnd>=delStart)
            {  
                buf.delete(delStart,delEnd);
                delStart=delEnd=-1;
                if (skip>0)
                    delEnd=end;
            }

IMHO, 'delEnd' is never set to 'end' 
Any clue of the correct behaviour?

Regards,

Guillaume Mailalrd

Back to the top