fix bug in dirContains
authorJoey Hess <joeyh@joeyh.name>
Fri, 1 Oct 2021 17:15:52 +0000 (13:15 -0400)
committerJoey Hess <joeyh@joeyh.name>
Fri, 1 Oct 2021 17:15:52 +0000 (13:15 -0400)
commite8959617b6ab87272a916034e02dfcb743c2b327
tree2bf1047aa95fd7bc4d9c40df3c42887be8110184
parent596f0774fcf1224e87a461523a49248a0b40f46a
fix bug in dirContains

dirContains ".." "../.." was incorrectly True.

This does not seem to be an exploitable security hole, at least
as dirContains is used in git-annex.

Sponsored-by: Jochen Bartl on Patreon
Utility/Path.hs