Fix DOM XSS
This commit is contained in:
parent
e33c3c72f9
commit
32cdd3b187
|
@ -368,6 +368,10 @@
|
||||||
|
|
||||||
window.addEventListener( 'message', function( event ) {
|
window.addEventListener( 'message', function( event ) {
|
||||||
|
|
||||||
|
if (window.location.origin !== event.origin){
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
clearTimeout( connectionTimeout );
|
clearTimeout( connectionTimeout );
|
||||||
connectionStatus.style.display = 'none';
|
connectionStatus.style.display = 'none';
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue