MCPcopy Create free account
hub / github.com/chainreactors/EvilProxy / Strings

Function Strings

internal/htmlsanitize/htmlsanitize.go:18–24  ·  view source on GitHub ↗

Strings escapes each string in values while preserving order.

(values []string)

Source from the content-addressed store, hash-verified

16
17// Strings escapes each string in values while preserving order.
18func Strings(values []string) []string {
19 out := make([]string, 0, len(values))
20 for _, value := range values {
21 out = append(out, String(value))
22 }
23 return out
24}
25
26// JSONBody escapes all string values in a JSON document.
27func JSONBody(body []byte) ([]byte, bool) {

Callers 2

pluginConfigFieldsFunction · 0.92
ListPluginStoreMethod · 0.92

Calls 1

StringFunction · 0.85

Tested by

no test coverage detected