Skip to content
Prev Previous commit
Next Next commit
fix qhelp: the window, not the origin, is sending the message
Co-authored-by: Esben Sparre Andreasen <esbena@github.com>
  • Loading branch information
erik-krogh and esbena authored Apr 25, 2022
commit fe3d71ebc21dc225a37bcad3d1da3e2d0aed610a
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Comment thread
erik-krogh marked this conversation as resolved.
Outdated
</p>
</overview>

Expand Down