Skip to main content

What it flags

Reports request data embedded directly in a filename or filename* field on a recognized response. The header name must resolve to a constant, and the field must be identifiable in a template or concatenation. Quotes and other characters in filenames can change whether the value follows the disposition grammar. RFC 6266 Use a Content-Disposition builder or the framework’s attachment API so that filename quoting and Unicode handling are applied together. Calls that construct the entire field through these APIs stay quiet. The rule also recognizes built-in URI encoding inside ordinary quoted filename fields. Extended filename* fields require the extended parameter encoding rules. The finding is contextual and has no automatic edit.

Configuration

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