KEYCLOAK-6534 Check for string in receiveMessage in session iframe
This commit is contained in:
1 parent
208ecbc3f7
commit
eb326cd1bb
1 file changed
+4
@@ -79,6 +79,10 @@
|
||||
|
||||
function receiveMessage(event)
|
||||
{
|
||||
if (typeof event.data !== 'string') {
|
||||
return
|
||||
}
|
||||
|
||||
var origin = event.origin;
|
||||
var data = event.data.split(' ');
|
||||
if (data.length != 2) {
|
||||
|
||||
Reference in new issue
Block a user