fix: linting error - incomplete url scheme check

This commit is contained in:
mannilakash committed 2026-04-01 17:27:29 -04:00
1 parent 023cf5782d
commit ae85af26bf
4 files changed
+3 -14

No files matched your search

@@ -61,7 +61,7 @@ export class HttpProvider implements IStatusProvider<HttpStatusPayload> {
return value
.replace(/[<>]/g, "")
.replace(/javascript:/gi, "")
.replace(/(?:javascript|data|vbscript):/gi, "")
.replace(/[^\t\x20-\x7E\x80-\xFF]/g, "") // allow only RFC 7230 header-safe characters
.trim()
.slice(0, 500);