As discussed in https://github.com/router5/router5/issues/200, this PR implements support for repeating slashes in paths as a pseudo-implementation of pathless paths. Two changes were made:
strip repeating slashes in buildPath
when matching paths, if the previously consumed path was a slash, and the current path is a slash as well, prepend a slash to segmentPath.
As discussed in https://github.com/router5/router5/issues/200, this PR implements support for repeating slashes in paths as a pseudo-implementation of pathless paths. Two changes were made:
buildPath
segmentPath
.