fuck you github i changed this already
This commit is contained in:
parent
7b67fd7b1e
commit
048734c127
1 changed files with 1 additions and 1 deletions
2
index.js
2
index.js
|
@ -38,7 +38,7 @@ app.parseResponse = function (responseBody, splitter) {
|
|||
return res }
|
||||
|
||||
//xss bad
|
||||
app.clean = function(text) {if (!text || typeof text != "string") return text || ""; else return text.replace(/&/g, "&").replace(/</g, "<").replace(/>/g, ">").replace(/=/g, "=").replace(/"/g, """).replace(/'/g, "'")}
|
||||
app.clean = function(text) {if (!text || typeof text != "string") return text; else return text.replace(/&/g, "&").replace(/</g, "<").replace(/>/g, ">").replace(/=/g, "=").replace(/"/g, """).replace(/'/g, "'")}
|
||||
|
||||
console.log("Site online!")
|
||||
|
||||
|
|
Loading…
Reference in a new issue