- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for Benchmark_hasBadPathComponent (0.13 sec)
-
cmd/generic-handlers_test.go
case !test.ShouldFail && w.Code != http.StatusOK: t.Errorf("Test %d: should not fail but status code is HTTP %d and not 200 OK", i, w.Code) } } } func Benchmark_hasBadPathComponent(t *testing.B) { tests := []struct { name string input string want bool }{ {name: "empty", input: "", want: false}, {name: "backslashes", input: `\a\a\ \\ \\\\\\\`, want: false},
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Fri Aug 29 02:39:48 UTC 2025 - 6.2K bytes - Viewed (0)