]> git.ipfire.org Git - thirdparty/rsync.git/commit
testsuite: added a test for symlinks to the same dir
authorAndrew Tridgell <andrew@tridgell.net>
Sun, 31 May 2026 08:30:59 +0000 (18:30 +1000)
committerAndrew Tridgell <andrew@tridgell.net>
Sun, 31 May 2026 08:42:37 +0000 (18:42 +1000)
commit3748c3288d943d1cedcffa50e9d248307bdfd035
treebfc65d8add7da03a596b4a4b86a051240f36e0c3
parent907505c004ed6e43def6df657912158c597a0b63
testsuite: added a test for symlinks to the same dir

when a symlink is to the same directory as the source then it can be
considered unsafe if it goes via a path outside the directory.

This came up on the mailing list, added a test to make the case clear
testsuite/safe-links-absolute-intree_test.py [new file with mode: 0644]