Skip to content

Commit 341ff3b

Browse files
authored
Update node.js/events.md
1 parent 643c146 commit 341ff3b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

node.js/events.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -548,7 +548,7 @@ req.warn ('Some warning message')
548548

549549
The methods are similar to [`req.error()`](#req-error), also accepting the [same arguments](#req-reject), but the messages are collected in `req.messages` instead of `req.errors`, not decorated with stack traces, and returned in a HTTP response header (e.g. `sap-messages`), instead of the response body.
550550

551-
::: warning Avoid Injection Vulnerabilities
551+
::: warning User Input & Injection Vulnerabilities
552552
Ensure proper validation of the message text if it contains values ​​from user input.
553553
:::
554554

0 commit comments

Comments
 (0)