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) {
|
||||
addProfileCardToDOM(
|
||||
buildProfileCard(
|
||||
$.parseJSON(
|
||||
request.getResponseHeader('Qvitter-User-Array'))));
|
||||
iterateRecursiveReplaceHtmlSpecialChars(
|
||||
$.parseJSON(
|
||||
request.getResponseHeader('Qvitter-User-Array')))));
|
||||
}
|
||||
|
||||
data = convertEmptyObjectToEmptyArray(data);
|
||||
|
|
Loading…
Reference in New Issue
Block a user