- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for TestDisableInsecurePathCheck (0.76 sec)
-
src/archive/zip/reader_test.go
} if !slices.Equal(gotPaths, []string{path}) { t.Errorf("NewReader for archive with file %q: got files %q", path, gotPaths) continue } } } func TestDisableInsecurePathCheck(t *testing.T) { t.Setenv("GODEBUG", "zipinsecurepath=1") var buf bytes.Buffer zw := NewWriter(&buf) const name = "/foo" _, err := zw.Create(name) if err != nil {
Registered: Tue Sep 09 11:13:09 UTC 2025 - Last Modified: Tue Mar 11 22:19:38 UTC 2025 - 56.6K bytes - Viewed (0)