>> I think it would be preferable to throw an IllegalArgumentException if the >> string does not start with "/". I'll take a look at the other issues in more >> detail when I get a chance. >> > Ok, but do you prefer to fix even this ?
Sure - we just need to find all instances where we are calling
getResource(...substring(1)) and precede them with a check for startsWith("/").
