diff --git a/src/topics/tags.js b/src/topics/tags.js index daab4e5f77..ee78a85f8e 100644 --- a/src/topics/tags.js +++ b/src/topics/tags.js @@ -624,7 +624,7 @@ module.exports = function (Topics) { bodyShort: bodyShort, bodyLong: postData.content, pid: postData.pid, - path: `/post/${postData.pid}`, + path: `/post/${encodeURIComponent(postData.pid)}`, tid: postData.topic.tid, from: exceptUid, });