MCPcopy Create free account
hub / github.com/heygen-com/hyperframes / redactUrlQueryStrings

Function redactUrlQueryStrings

packages/core/src/telemetryRedaction.ts:8–10  ·  view source on GitHub ↗
(value: string)

Source from the content-addressed store, hash-verified

6}
7
8function redactUrlQueryStrings(value: string): string {
9 return value.replace(/\b(https?:\/\/[^\s?]+)\?[^\s]*/g, "$1?…");
10}
11
12function redactFilePaths(value: string): string {
13 return value

Callers 1

redactTelemetryStringFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected