MCPcopy Create free account
hub / github.com/UsefulSoftwareCo/executor / decodeHtml

Function decodeHtml

apps/host-selfhost/src/auth/sso.test.ts:186–192  ·  view source on GitHub ↗
(value: string)

Source from the content-addressed store, hash-verified

184// --- The full OIDC round-trip against the emulated IdP -----------------------
185
186const decodeHtml = (value: string): string =>
187 value
188 .replaceAll("&", "&")
189 .replaceAll(""", '"')
190 .replaceAll("'", "'")
191 .replaceAll("&lt;", "<")
192 .replaceAll("&gt;", ">");
193
194const formFields = (form: string): Record<string, string> => {
195 const fields: Record<string, string> = {};

Callers 2

formFieldsFunction · 0.70
signInThroughIdpFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected