KEYCLOAK-6534 Check for string in receiveMessage in session iframe

This commit is contained in:
stianst 2018-02-13 09:28:57 +01:00 committed by Stian Thorgersen
parent 208ecbc3f7
commit eb326cd1bb

View file

@ -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) {