mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-10-29 10:06:13 +01:00
Escape topic titles at the source, deduplicate
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user