chore: fix some comments to improve readability (#4533)

Signed-off-by: promalert <promalert@outlook.com>
This commit is contained in:
promalert
2026-01-07 15:48:40 +00:00
committed by GitHub
parent 3a3a86eb01
commit cc1a7dfae8
+1 -1
View File
@@ -317,7 +317,7 @@ func TestSafeJoin(t *testing.T) {
} }
} }
// TestSymlinkProtection demonstrates that SafeJoin protects against symlink-based // TestSafeJoin_SymlinkProtection demonstrates that SafeJoin protects against
// directory traversal attacks by validating that archive entry paths cannot escape // directory traversal attacks by validating that archive entry paths cannot escape
// the extraction directory. // the extraction directory.
func TestSafeJoin_SymlinkProtection(t *testing.T) { func TestSafeJoin_SymlinkProtection(t *testing.T) {