Skip to main content

What it flags

Loadwise reports a direct request field interpolated into markup sent with Express send or end when the same response explicitly sets an HTML content type in the call chain or immediately preceding statement. A literal JSON or plain-text content type suppresses the finding. For end, the check requires a direct field or immutable alias. For send, transformed values and uncertain response types remain contextual. Koa response bodies also remain contextual.

Configuration

Set the rule to "off" in loadwise.config.json to drop its findings: