This commit is contained in:
barisusakli
2016-07-25 15:23:50 +03:00
parent 5cbfa6f212
commit 754e20eb5c
3 changed files with 30 additions and 12 deletions

View File

@@ -49,8 +49,8 @@ module.exports = function(SocketPosts) {
type: 'topic-rename',
uid: socket.uid,
ip: socket.ip,
oldTitle: result.topic.oldTitle,
newTitle: result.topic.title
oldTitle: validator.escape(String(result.topic.oldTitle)),
newTitle: validator.escape(String(result.topic.title))
});
}