MCPcopy Create free account
hub / github.com/MiloOweno/kernel-lab / filterASCII

Function filterASCII

daemon/algod/api/client/restClient.go:108–115  ·  view source on GitHub ↗

filterASCII filter out the non-ascii printable characters out of the given input string. It's used as a security qualifier before adding network provided data into an error message. The function allows only characters in the range of [32..126], which excludes all the control character, new lines, de

(unfilteredString string)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

extractErrorFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected