From 62f5bc3ce90fedb396d103caae68dc2f211f1b16 Mon Sep 17 00:00:00 2001 From: Florian Pritz Date: Sun, 27 Sep 2020 14:24:44 +0200 Subject: DB: Fix incorrect subpath handling for path that is a superstring of the previous path Files that share a common substring (e.g. `/home/foo/.ssh/id_rsa` and `/home/foo/.ssh/id_rsa.pub`) could incorrectly trigger an optimization that was only supposed to be triggered if the first path is a directory. The first path would then not be added to the database cache even though it should have been. Signed-off-by: Florian Pritz --- Changes | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'Changes') diff --git a/Changes b/Changes index dd5812e..f77e9f9 100644 --- a/Changes +++ b/Changes @@ -1,6 +1,10 @@ Revision history for Perl extension App-BorgRestore {{$NEXT}} + - Fix missing cache data for files that exist with and without an + extension. For example '/home/*/.ssh/id_rsa' would be missing from the + database and only the accompanying `id_rsa.pub` file would be contained + in the database. 3.4.0 2019-09-28T13:28:49Z - Remove archive name untaint restrictions (remove untaint_archive_name -- cgit v1.2.3-24-g4f1b