mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-10-26 16:46: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,
|
bodyShort: bodyShort,
|
||||||
bodyLong: postData.content,
|
bodyLong: postData.content,
|
||||||
pid: postData.pid,
|
pid: postData.pid,
|
||||||
path: `/post/${postData.pid}`,
|
path: `/post/${encodeURIComponent(postData.pid)}`,
|
||||||
tid: postData.topic.tid,
|
tid: postData.topic.tid,
|
||||||
from: exceptUid,
|
from: exceptUid,
|
||||||
});
|
});
|
||||||
|
|||||||
Reference in New Issue
Block a user