Cette page n'est pas encore disponible en français, sa traduction est en cours. Si vous avez des questions ou des retours sur notre projet de traduction actuel, n'hésitez pas à nous contacter.
Metadata
ID:typescript-express/external-filename-upload
Language: TypeScript
Severity: Warning
Category: Security
Description
Using unsanitized user input in a sendFile method can allow attackers to access unintended resources.
Set the root option directly in your sendFile options will make this rule not report a violation.