mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-10-26 08:36:12 +01:00
fix: encoding of pid in notifyCategoryFollowers, #13087
This commit is contained in:
@@ -245,7 +245,7 @@ module.exports = function (Categories) {
|
||||
bodyShort: bodyShort,
|
||||
bodyLong: postData.content,
|
||||
pid: postData.pid,
|
||||
path: `/post/${postData.pid}`,
|
||||
path: `/post/${encodeURIComponent(postData.pid)}`,
|
||||
tid: postData.topic.tid,
|
||||
from: exceptUid,
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user