|
- O.prototype.addMessage = function(e) {
- this.log = e.replace(/&/g, '&').replace(/</g, '<').replace(/>/g, '>').replace(/"/g, '"').replace(/'/g, ''') + "\n" + this.log,
- this.dom.innerHTML = '<textarea style="width:100%; height:100%; background-color:#346; color:#fff;">' + this.log + "</textarea>"
- }
- ,
复制代码 原来的发送的时候会有xss漏洞 |
+10
|