Changes look good, but what's the reason for changing this logic and removing the associated spec for it. A mapping doesn't have to match up to the next forward slash. E.g. for the url `/page/about`, one could configure a mapping to match `/pa`. We don't want the unmatched path to then be `/ge/about`, we want it to be `ge/about`. If however the matched path was `/path/`, we'd want the unmatched path to begin with a forward slash `/about` as the last match ended with a forward slash.