This commit is contained in:
barisusakli
2017-04-16 14:26:12 -04:00
20 changed files with 130 additions and 90 deletions

View File

@@ -1,7 +1,6 @@
'use strict';
var async = require('async');
var validator = require('validator');
var posts = require('../../posts');
var topics = require('../../topics');
@@ -169,7 +168,7 @@ module.exports = function (SocketPosts) {
uid: socket.uid,
pid: data.pid,
ip: socket.ip,
title: validator.escape(String(title)),
title: String(title),
}, next);
},
], callback);