mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-10-26 16:46:12 +01:00
fix: allow quoting AP posts, fixes #12545
This commit is contained in:
@@ -330,7 +330,7 @@ define('forum/topic/postTools', [
|
||||
return quote(selectedNode.text);
|
||||
}
|
||||
|
||||
const { content } = await api.get(`/posts/${toPid}/raw`);
|
||||
const { content } = await api.get(`/posts/${encodeURIComponent(toPid)}/raw`);
|
||||
quote(content);
|
||||
});
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user