Skip to content

Commit c0271b1

Browse files
dellaliberaesbena
andauthored
Update javascript/ql/src/experimental/Security/CWE-020/PostMessageNoOriginCheck.qhelp
Co-authored-by: Esben Sparre Andreasen <[email protected]>
1 parent ffc9a44 commit c0271b1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

javascript/ql/src/experimental/Security/CWE-020/PostMessageNoOriginCheck.qhelp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ Always verify the sender's identity of incoming messages.
2525
<sample src="examples/postMessageWithInsufficientCheck.js" />
2626

2727
<p> In the third example, the `MessageEvent.origin` is properly checked against a trusted origin. </p>
28-
<sample src="examples/postMessageWithInsufficientCheck.js" />
28+
<sample src="examples/postMessageWithOriginCheck.js" />
2929

3030
</example>
3131

0 commit comments

Comments
 (0)