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

Signed-off-by: promalert <promalert@outlook.com>
This commit is contained in:
promalert 2026-01-07 23:48:40 +08:00 committed by GitHub
parent 3a3a86eb01
commit cc1a7dfae8
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

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) {