mirror of
https://github.com/github/codeql.git
synced 2026-04-29 02:35:15 +02:00
fix qhelp: the window, not the origin, is sending the message
Co-authored-by: Esben Sparre Andreasen <esbena@github.com>
This commit is contained in:
committed by
GitHub
parent
df295e69d6
commit
fe3d71ebc2
@@ -7,8 +7,7 @@
|
||||
|
||||
<p>
|
||||
The <code>"message"</code> event is used to send messages between windows.
|
||||
An untrusted origin is allowed to send messages to a trusted window, and if the origin
|
||||
is not checked that can lead to various security issues.
|
||||
An untrusted window can send a message to a trusted window, and it is up to the receiver to verify the legitimacy of the message. One way of doing that verification is to check the <code>origin</code> of the message ensure that it origins from a trusted window.
|
||||
</p>
|
||||
</overview>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user