KEYCLOAK-9058 Fix issue with cyclic object on firefox

This commit is contained in:
mhajas 2018-12-11 13:43:20 +01:00 committed by Pavel Drozd
parent 0d9964c185
commit 81d4908c1d

View file

@ -67,7 +67,7 @@ public class XMLHttpRequest {
getHeadersString() +
" req.onreadystatechange = function () {" +
" if (req.readyState == 4) {" +
" callback({\"status\" : req.status, \"responseHeaders\" : req.getAllResponseHeaders(), \"res\" : req.response, \"req\" : req})" +
" callback({\"status\" : req.status, \"responseHeaders\" : req.getAllResponseHeaders(), \"res\" : req.response})" +
" }" +
" };" +
" req.send(" + content + ");";