fs/Traits: allow base to end with a slash in Relative()
Fixes false negatives:
http://foo/dav/example.ogg mismatches http://foo/dav/
.. because StringAfterPrefix() returns just "example.ogg", without
trailing slash (it existed, but was eaten already by the base
matcher).
Showing
Please
register
or
sign in
to comment