Maybe we also can trim trailing slash? I'm a bit concern about removing prefix since `/foo/bar` and `foo/bar` are technically different paths. Could you give some examples when path does not contain prefix slash?