[darcs-devel] [issue2035] darcs accepts fake subpaths (relative paths outside of the repo)
Petr Ročkai
bugs at darcs.net
Thu Jan 20 20:22:04 UTC 2011
Petr Ročkai <me at mornfall.net> added the comment:
Eric Kow <bugs at darcs.net> writes:
> I think we know what we need to do to solve this in the long term --
> tear out our subpath representation and switch to something like Petr's
> components-based representation in pathlib.
>
> In the medium term, it may also be good for us to fix hashed-storage
> (I'll post some patches to the current branch later).
I think in recent (pathlib-based) incarnations of hashed-storage (and
fslib, the to-be-successor) this is fixed. You may be kicked out of your
program by an exception when you try to construct a relative path (not a
sub path) with a Sub type, though.
Yours,
Petr
----------
title: darcs accepts fake subpaths (relative paths outside of the repo) -> darcs accepts fake subpaths (relative paths outside of the repo)
__________________________________
Darcs bug tracker <bugs at darcs.net>
<http://bugs.darcs.net/issue2035>
__________________________________
More information about the darcs-devel
mailing list