MCPcopy Index your code
hub / github.com/nodejs/node / isBad

Function isBad

lib/tls.js:321–321  ·  view source on GitHub ↗
(s)

Source from the content-addressed store, hash-verified

319 // reject them. Control characters and blanks are rejected as well
320 // because nothing good can come from accepting them.
321 const isBad = (s) => /[^\u0021-\u007F]/u.test(s);
322 if (patternParts.some(isBad))
323 return false;
324

Callers

nothing calls this directly

Calls 1

testMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…