Details
Description
ResourceMapper.mapRequest() calls ResourceMapper.removeCachingDecoration() which, throws IllegalStateException if the URL's last segment is an empty string.
URLs like: path/to/my/non/wicket/directory/ end in a empty segment.
We must change the behaviour to not attempt to undecorate a URL ending in an empty segment.