Escape topic titles at the source, deduplicate

This commit is contained in:
Peter Jaszkowiak
2017-04-15 01:38:42 -06:00
parent ecfca21abe
commit 0fe10f5e86
10 changed files with 59 additions and 25 deletions

View File

@@ -169,7 +169,7 @@ module.exports = function (SocketPosts) {
uid: socket.uid,
pid: data.pid,
ip: socket.ip,
title: validator.escape(String(title)),
title: String(title),
}, next);
},
], callback);