MCPcopy Create free account
hub / github.com/devploit/nomore403 / shellQuote

Function shellQuote

cmd/requester.go:556–558  ·  view source on GitHub ↗
(s string)

Source from the content-addressed store, hash-verified

554}
555
556func shellQuote(s string) string {
557 return "'" + strings.ReplaceAll(s, "'", `'"'"'`) + "'"
558}
559
560func cloneHeaders(headers []header) []header {
561 cp := make([]header, len(headers))

Callers 3

buildCurlCommandFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected