xss fix
This commit is contained in:
parent
e2b7ec3b23
commit
a017ad1940
|
@ -151,8 +151,9 @@ function getFromAPI(stream, actionOnSuccess) {
|
||||||
if(request.getResponseHeader('Qvitter-User-Array') !== null) {
|
if(request.getResponseHeader('Qvitter-User-Array') !== null) {
|
||||||
addProfileCardToDOM(
|
addProfileCardToDOM(
|
||||||
buildProfileCard(
|
buildProfileCard(
|
||||||
$.parseJSON(
|
iterateRecursiveReplaceHtmlSpecialChars(
|
||||||
request.getResponseHeader('Qvitter-User-Array'))));
|
$.parseJSON(
|
||||||
|
request.getResponseHeader('Qvitter-User-Array')))));
|
||||||
}
|
}
|
||||||
|
|
||||||
data = convertEmptyObjectToEmptyArray(data);
|
data = convertEmptyObjectToEmptyArray(data);
|
||||||
|
|
Loading…
Reference in New Issue
Block a user